Page 1 of 3

[vQmod] Admin HTML Order Confirmation Plus 1.5.x

Posted: Sun Oct 16, 2011 5:58 am
by uksitebuilder
This vQmod sends an exact copy of the order confirmation email the customer receives in HTML format to the admin and/or extra email addresses specified in your system settings

Added: Order Status
Added: Customer Comments

Tested on 1.5.1.x

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Mon Oct 31, 2011 11:22 pm
by marcelwoo
thx. works like a charm!

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Tue Nov 15, 2011 11:47 pm
by spirit
Simon, it's neccesary modify order.tpl or not?
Because i only want receive the same order email (current order email, the original).
Thanks!

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Wed Nov 16, 2011 1:22 am
by uksitebuilder
Not necesasary, no

it adds order status and comments the user entered to the email though.

if you are not bothered about that, then replace the entire contents of the xml file with the following

Code: Select all

<modification>
	<id>UKSB Admin HTML Order Email</id>
	<version>1.0.0</version>
	<vqmver>2.1.5</vqmver>
	<author>http://www.opencart-extensions.co.uk</author>
	<file name="catalog/model/checkout/order.php">
		<operation>
			<search position="replace" offset="51"><![CDATA[$subject = sprintf($language->get('text_new_subject'), html_entity_decode($this->config->get('config_name'), ENT_QUOTES, 'UTF-8'), $order_id);]]></search>
			<add><![CDATA[			$mail->setTo($this->config->get('config_email'));
			$mail->send();]]></add>
		</operation>
	</file>
</modification>

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Wed Nov 16, 2011 5:03 am
by spirit
This right?

Code: Select all

// Admin Alert Mail

if ($this->config->get('config_alert_mail')) {
$mail->setTo($this->config->get('config_email'));
$mail->send();
And for set a specific recipient e-mail? **do you remember my other request? http://forum.opencart.com/viewtopic.php ... 55#p218770
Sorry, but im a child in this way, thanks!

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Wed Nov 16, 2011 5:08 pm
by uksitebuilder
You really have me lost here.

This vQmod sends a copy of the Order Confirmation email the customer receives to the Admin email address.

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Wed Nov 16, 2011 11:07 pm
by spirit
uksitebuilder wrote:You really have me lost here.

This vQmod sends a copy of the Order Confirmation email the customer receives to the Admin email address.
Yes i know Simon. But i want receive this e-mail (order confirmation email) in a "specific email", not in the admin email.
Please help me, this is my last request! :)

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Thu Nov 17, 2011 12:44 am
by uksitebuilder
Then you change

Code: Select all

$mail->setTo($this->config->get('config_email'));
to

Code: Select all

$mail->setTo('YOU@YOUREMAIL.COM');

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Fri Nov 18, 2011 11:42 am
by spirit
Works fine, thanks simon!
Now i may send the original order email to my customers if for any reason they don't receive it. I think OC need create this function really (resend original order email).

Thanks again :)

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Wed Dec 21, 2011 8:35 pm
by stevenesler
Hi Simon,

Works a charm many thanks for your work on this!

I have a small issue I could do with your help on. How do I change the text at the bottom of the confirmation email from "The comments for your order are:" to anything else?

Thanks in advance

Steve

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Wed Dec 21, 2011 9:42 pm
by uksitebuilder
admin/language/english/mail/order.php

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Tue Jan 03, 2012 9:42 am
by FnF
Is there a way to run this XML file, or is the only way to accomplish it, to go through and make the included edits to each file manually?

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Tue Jan 03, 2012 10:01 am
by FnF
DUH!
Scratch that last post. I was in a retard state of mind. :choke:

Vqmod! ;D

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Sun Jan 08, 2012 9:25 pm
by markman-b
Thanx Simon! Great mod. Any chance that this will be standard in OC 1.5.2?

But what to do, to change the name in the column "Sender" in my mail client (TB). I prefer to see the name of the customer instead of my company. I've read some many topics about this, but ïm still struggling with it.

Thanx again mate.

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Wed Jan 18, 2012 1:14 pm
by webecho
Hi Simon
This is working well - apart from the Customer Comments.
For some reason, they are not showing up in the HTML version of the email.
If I switch to plain text, I can see the Comments
If I view source for the email message I can see the Comments

It just doesn't show in the HTML version.

Any ideas why that could be?

thanks

@webecho

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Wed Jan 18, 2012 5:03 pm
by uksitebuilder
please check your vqmod/vmqmod.log file for any errors and advise your OC version

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Wed Jan 18, 2012 5:15 pm
by webecho
Hi Simon
No errors in the VQMod file - tried looking there.
OC 1.5.1.3

I've looked through all the template and controller files and as far as I can tell, it should be showing up.
It's got me really confused.

Just about finished for the day, so there's no rush - but any suggestions will be gratefully received with tomorrow mornings pot of Coffee.


@webecho

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Thu Jan 19, 2012 4:47 pm
by Bredpitt
I have a really dumb question..

How to i run the xml file ?!

i tryed to upload it to root folder and run it... but it didnt work..


Hope for help..

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Thu Jan 19, 2012 4:58 pm
by webecho
Bredpitt wrote:I have a really dumb question..

How to i run the xml file ?!

i tryed to upload it to root folder and run it... but it didnt work..


Hope for help..
You need to install VQMod
Then place the xml file in the XML folder inside the VQMod folder.

You can download VQMod here

Hope that helps

@webecho

Re: [vQmod] Admin HTML Order Confirmation Plus 1.5.1.x

Posted: Fri Jan 20, 2012 3:40 pm
by kungmats
Hi

I have a rellay strange problem with this module.

I do not get any order confirmation e-mail at all ... EXCEPCT for if I put the order from my self.

All orders I put myself I get the conf. mail, but NO other :(

(all the orders are in the db though ... so this is "just" the conf. e-mail missing)