Post by OC2PS » Thu May 10, 2012 7:23 pm

Opencart generates 2 emails when an order is placed - one for the customer and another for store owner.

This is quite fancy/powerful and useful if you are a online store developer creating stores for many clients, trying to show off.

However, if you are a small store owner setting up your store yourself, you may find that the email notification you get when an order is placed, is rather sparse.

The simple idea behind this vQmod is that when an order is placed, the store owner gets the exact same email as the customer.

This is helpful for small store owners as they can see the detailed order including who placed it without having to log into the store AP.

It is also useful for store owners and developers to see what the customers get when they place an order.

This mod also fixes an OpenCart bug whereby the HTML emails being sent to customers did not include order comments/instructions. With this mod, the order confirmation to customer as well as the order notification to store owner include the order comments.

Requirements
  1. You need Opencart preinstalled. Opencart is available at
  2. You must have vQmod preinstalled.
Installation
  1. Download the latest version of the extension compatible with your version of Opencart from http://www.opencart.com/index.php?route ... on_id=6371
  2. Unzip using a program such as WinZip, WinRar or Windows's inbuilt compressor
    (In Windows, right click on the downloaded zip file, and select Extract All)
  3. Use an FTP program such as FileZilla to upload all contents of the uploads folder to your shop's root.
And then?
And then nothing. You're all done. There are no configurations or admin options. Once you are done with the above steps, the extension should start working. You as store owner should get exactly the same email that your customer receives upon placing an order. Simple!

I'm not getting any order confirmation emails

Were you getting any order confirmation emails before installing this extension? This extension does NOT deal with sending of emails, only with the CONTENT.

Go to AP > System Settings > Mail, and ensure that New Order Alert Email is set as Yes. If you are still not receiving mails, you are facing a more generic issue regarding you SMTP etc. Search these forums for a solution.

What else does this mod do?

This mod is designed to do one thing only - to send the exact same order confirmation email to shop admin as it sends to the customer.

Will this mod add product photos to the email?

If you use Product Photos mod to add photos to order confirmations sent to customers, then admin emails will also include product photos.

Advertising
This mod adds my link to your site's footer (next to the Opencart link). It would be nice if you don't remove it. If you do remove it, please consider donating.

Extension page: http://www.opencart.com/index.php?route ... on_id=6371

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by ninogui » Tue Jul 03, 2012 6:22 am

This is a great mod

only thing missing comparing to the default email to shop admin (oc 1531) is the order status as defaulted (pending, processing etc) although that´s missing on the default code as well

If you wanna take a look at that would be nice, if not well no harm done

best rgds

New member

Posts

Joined
Thu May 05, 2011 7:52 pm

Post by OC2PS » Tue Jul 03, 2012 11:07 am

Thanks for the suggestion. At the moment, I am not planning to add that - the intent of this mod is to simply replicate the email not to modify it. A separate mod may enhance the content of the email, e.g. http://www.opencart.com/index.php?route ... on_id=7102

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by chase213@live.com » Thu Jul 12, 2012 6:22 pm

Hi bro I need your help

When customer buy from my shop I only got notification on registration i did not get notification when they place order with liberty reserve or paypal

Please can you helpme out on this, I want my store to notify me whenever they made payment on my store

thanks


Posts

Joined
Mon Jul 02, 2012 12:10 am

Post by OC2PS » Thu Jul 12, 2012 6:50 pm

AP > System > {Edit Store} > Mail
Mark "New Order Alert Mail:" as Yes

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by garydee77 » Tue Jul 24, 2012 12:13 am

hi there can you tell me this?

our shop on the products asks the user to input a gift card text option as well as colour and size option

I would like these displayed on the order email

do all optional options get added on also int he final email to us and the customer?

Thanks

New member

Posts

Joined
Thu Jun 23, 2011 7:51 pm

Post by OC2PS » Tue Jul 24, 2012 12:17 am

Everything that goes into the customer email also goes into the email to store owner.

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by matrix4495 » Mon Aug 13, 2012 5:12 am

not able to download

Error: Could not find file tik-Copy-customer-order-confirmation-for-owner-1-0.zip!

Newbie

Posts

Joined
Mon May 14, 2012 9:03 pm

Post by OC2PS » Mon Aug 13, 2012 3:02 pm

There was a problem with the Opencart Extensions repository. Daniel is working to restore it. Thanks for your patience.

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by i2Paq » Thu Aug 23, 2012 7:56 pm

Does this work with 1.5.4.x?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by OC2PS » Thu Aug 23, 2012 8:00 pm

i2Paq wrote:Does this work with 1.5.4.x?
Yup

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by i2Paq » Thu Aug 23, 2012 8:04 pm

So this sens the same e-mail to me, the owner, as my customer gets?

Hmm, did not check the "product" page ;)

Would it be easy to change the subject of the e-mail to the owner?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by OC2PS » Thu Aug 23, 2012 8:26 pm

i2Paq wrote:Would it be easy to change the subject of the e-mail to the owner?
It wouldn't be too hard. Right now, I just shortcircuit the process of generating email content for the store-owner. You'll probably just have to add one line of code to change the subject.

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by i2Paq » Thu Aug 23, 2012 8:35 pm

OC2PS wrote:
i2Paq wrote:Would it be easy to change the subject of the e-mail to the owner?
It wouldn't be too hard. Right now, I just shortcircuit the process of generating email content for the store-owner. You'll probably just have to add one line of code to change the subject.
Any hints ;)

This because I'm not a coder.

I see:

Code: Select all

	<file name="catalog/language/english/common/footer.php">
		<operation>
			<search position="replace" offset="1" error="log"><![CDATA[$_['text_newsletter']   = 'Newsletter';]]></search>
			<add><![CDATA[$_['text_newsletter']   = 'Newsletter';
$_['text_powered']      = 'Powered By <a href="http://www.opencart.com">OpenCart</a> and <a href="http://www.csillamvilag.com">OC2PS</a><br /> %s &copy; %s';]]></add>
		</operation>
	</file>
So I probably have to do the same on a certain file with Subject etc.?

Any help highly appreciated :)

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by OC2PS » Thu Aug 23, 2012 9:19 pm

Right! I forgot that OpenCart actually has a single subject, not just my extension.

There are a few additional changes that need to be made to change the subject. What would you like the subject for shop owner to be?

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by i2Paq » Thu Aug 23, 2012 9:24 pm

OC2PS wrote:Right! I forgot that OpenCart actually has a single subject, not just my extension.

There are a few additional changes that need to be made to change the subject. What would you like the subject for shop owner to be?
Just: "You received a new order at <insert Store name>"

If possible in Multi language.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by OC2PS » Thu Aug 23, 2012 9:51 pm

Try the attached file

Attachments


OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by i2Paq » Thu Aug 23, 2012 11:41 pm

Your the man!

Code: Select all

---------- Date: 2012-08-23 17:37:51 ~ IP : 217.120.214.245 ----------
REQUEST URI : /index.php?route=checkout/success
MOD DETAILS:
   modFile   : /var/www/vhosts/australiangoldwinkel.nl/httpdocs/vqmod/xml/vq-replicate-customer-order-confirmation-email-for-owner.xml
   id        : @tik Copy customer order confirmation for owner
   version   : 1
   vqmver    : 2.1.6
   author    : OC2PS
SEARCH NOT FOUND (ABORTING MOD): $_['text_newsletter']   = 'Newsletter';

----------------------------------------------------------------------
This means that the search for Newsletter does not work, can I just remove this?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by OC2PS » Thu Aug 23, 2012 11:53 pm

The search for newsletter is just to place my link in your English shop's footer. You can remove it, though obviously I'd prefer if you didn't.

The new subject is multilingual. You'll need to add a new variable to your language files (except English - because I've already done that in the extension) catalog/language/name_of_language/mail/order.php

Code: Select all

$_['text_new_owner_subject']          = 'You received a new order at %s';
(obviously replace You received a new order at with an appropriate translation.

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by i2Paq » Thu Aug 23, 2012 11:55 pm

If you fix the error with the Newsletter I leave it in ;)

The translation for You received a new order at in Dutch is: U heeft een nieuwe bestelling ontvangen bij

Just copied and adjust that part in the xml.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands
Who is online

Users browsing this forum: No registered users and 21 guests