Post by uksitebuilder » Sun Oct 16, 2011 5:58 am

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

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by marcelwoo » Mon Oct 31, 2011 11:22 pm

thx. works like a charm!

"We help each other to grow". That's the opencart community!

All free mods
Home Based Ebay business Opportunity(not ads)


User avatar
Active Member

Posts

Joined
Tue Mar 29, 2011 1:45 am

Post by spirit » Tue Nov 15, 2011 11:47 pm

Simon, it's neccesary modify order.tpl or not?
Because i only want receive the same order email (current order email, the original).
Thanks!

Active Member

Posts

Joined
Sat Oct 02, 2010 7:40 am

Post by uksitebuilder » Wed Nov 16, 2011 1:22 am

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>

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by spirit » Wed Nov 16, 2011 5:03 am

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!

Active Member

Posts

Joined
Sat Oct 02, 2010 7:40 am

Post by uksitebuilder » Wed Nov 16, 2011 5:08 pm

You really have me lost here.

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

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by spirit » Wed Nov 16, 2011 11:07 pm

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! :)

Active Member

Posts

Joined
Sat Oct 02, 2010 7:40 am

Post by uksitebuilder » Thu Nov 17, 2011 12:44 am

Then you change

Code: Select all

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

Code: Select all

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

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by spirit » Fri Nov 18, 2011 11:42 am

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 :)

Active Member

Posts

Joined
Sat Oct 02, 2010 7:40 am

Post by stevenesler » Wed Dec 21, 2011 8:35 pm

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

Newbie

Posts

Joined
Wed Dec 21, 2011 8:33 pm

Post by uksitebuilder » Wed Dec 21, 2011 9:42 pm

admin/language/english/mail/order.php

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by FnF » Tue Jan 03, 2012 9:42 am

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?

User avatar
FnF
Active Member

Posts

Joined
Sat Mar 19, 2011 9:59 pm

Post by FnF » Tue Jan 03, 2012 10:01 am

DUH!
Scratch that last post. I was in a retard state of mind. :choke:

Vqmod! ;D

User avatar
FnF
Active Member

Posts

Joined
Sat Mar 19, 2011 9:59 pm

Post by markman-b » Sun Jan 08, 2012 9:25 pm

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.

OC version 1.5.4.1


Active Member

Posts

Joined
Wed Aug 24, 2011 7:13 pm

Post by webecho » Wed Jan 18, 2012 1:14 pm

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

New member

Posts

Joined
Mon Dec 06, 2010 9:17 am

Post by uksitebuilder » Wed Jan 18, 2012 5:03 pm

please check your vqmod/vmqmod.log file for any errors and advise your OC version

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by webecho » Wed Jan 18, 2012 5:15 pm

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

New member

Posts

Joined
Mon Dec 06, 2010 9:17 am

Post by Bredpitt » Thu Jan 19, 2012 4:47 pm

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..

Newbie

Posts

Joined
Sat Sep 17, 2011 11:08 pm

Post by webecho » Thu Jan 19, 2012 4:58 pm

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

New member

Posts

Joined
Mon Dec 06, 2010 9:17 am

Post by kungmats » Fri Jan 20, 2012 3:40 pm

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)

Active Member

Posts

Joined
Tue Jan 25, 2011 11:00 pm
Who is online

Users browsing this forum: No registered users and 32 guests