Post by ristretto6 » Mon Nov 14, 2011 8:24 am

Since upgrading to the new version of OC, the emails that I get notifying me of a new order look a lot more rudimentary than they used to -- in the past versions, I'd get an email with my shop banner, all the products neatly organized in a grid the way they are in the back office, and customer comments easily visible and separate from the rest of the info.

Now, when I receive an order notification, it looks like this:
notification.png

notification.png (122.11 KiB) Viewed 4952 times

Is this just a downside of the new version, or am I missing a file or setting somewhere that would enable the "prettier" notifications?

New member

Posts

Joined
Sat May 24, 2008 6:18 am

Post by allenshea » Mon Nov 14, 2011 8:47 am

I made a change in the file of catalog\model\checkout\order.php

change,

Code: Select all

$mail->setText($text);
to

Code: Select all

$mail->setHtml($html);
But I don't get the order Comments in E-Mail.

I know nothing about PHP and SQL, but I still try my best to understand it.


Active Member

Posts

Joined
Mon Dec 14, 2009 10:01 pm

Post by dvs12c » Sun Nov 27, 2011 6:56 pm

I am only new to opencart, but i have found the store owner notification email is to plain.

I would like to see more information on here, pretty much just like the email the customer gets. This will help me prepare before going to my site.

So i would like to bump this.

New member

Posts

Joined
Sun Nov 13, 2011 9:20 pm

Post by dvs12c » Sun Nov 27, 2011 7:09 pm

Similar to the above post:

catalog/model/checkout/order.php - Around Line 487



Find:

Code: Select all

$mail->setText($text);
Replace with:

Code: Select all

$mail->setHtml($html);
$mail->setText(html_entity_decode($text, ENT_QUOTES, 'UTF-8'));
$mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo'), md5(basename($this->config->get('config_logo'))));
This seemed to do the job for me!

New member

Posts

Joined
Sun Nov 13, 2011 9:20 pm

Post by OpenCart Addons » Tue Nov 29, 2011 11:07 pm

Hey guys,

I've created a vQmod that will allow you to change the admin notification email to the same level of detail as the customer receives.

Link below

Attachments

OpenCart v1.5.x only


Canada's Leading Expert In OpenCart Development & Certified OpenCart Development Partner Image


User avatar
Active Member

Posts

Joined
Thu Nov 24, 2011 10:51 am
Location - Canada

Post by dvs12c » Wed Nov 30, 2011 10:15 am

OC Addons

Does this mean i should revert my catalog/model/checkout/order.php - Around Line 487?

New member

Posts

Joined
Sun Nov 13, 2011 9:20 pm

Post by OpenCart Addons » Wed Nov 30, 2011 9:40 pm

Yes as it searches for that line if I'm not mistaken. If you have any problems let me know and I can give you a hand.

Canada's Leading Expert In OpenCart Development & Certified OpenCart Development Partner Image


User avatar
Active Member

Posts

Joined
Thu Nov 24, 2011 10:51 am
Location - Canada

Post by RNRF » Sun Apr 22, 2012 4:55 am

I cant do it work .
I already installed oca_detailedorderadminemailnotification.xml , but the emails are not been send to my admin mail .

ANd i cant find "$mail->setText($text);" at catalog/model/checkout/order.php

Newbie

Posts

Joined
Mon Apr 16, 2012 12:34 am

Post by RNRF » Mon Apr 23, 2012 3:13 am

VQMOD error log says :

Code: Select all

- Date: 2012-04-21 20:45:21 ~ IP : 178.166.18.175 ----------
REQUEST URI : /ocart/index.php?route=checkout/confirm
MOD DETAILS:
   modFile   : /home/tugasale/public_html/ocart/vqmod/xml/oca_detailedorderadminemailnotification.xml
   id        : OCA_Detailed Order Admin Email Notification(1.5.x)
   version   : 1.0
   vqmver    : 1.0.0
   author    : Joel - http://opencartaddons.com - webmaster@opencartaddons.com
SEARCH NOT FOUND (ABORTING MOD): $mail->setText($text);
Can you help me with that ? im with 1.5.2.1

Newbie

Posts

Joined
Mon Apr 16, 2012 12:34 am

Post by GauravS » Sat May 05, 2012 12:15 pm

Have you enabled Admin Notifications from System > Settings > Edit > Mail > New Order Alert Mail [Yes] ?

Opencart Newbie !!!


Newbie

Posts

Joined
Sat May 05, 2012 12:13 pm

Post by gwbonline » Wed Mar 06, 2013 8:04 pm

I uploaded your VQmod with the VQMod Manager. Do I have to something else to make it work? I can't find the option to enable it (System > Settings > Edit > Mail > New Order Alert Mail [Yes]).

I use OpenCart 1.5.4

New member

Posts

Joined
Mon Nov 12, 2012 8:27 pm

Post by gwbonline » Wed Mar 06, 2013 8:17 pm

Updated the vqmod to version 2.5 and now it works great!

New member

Posts

Joined
Mon Nov 12, 2012 8:27 pm

Post by PlugGuy » Thu Mar 07, 2013 6:37 pm

Had a checkout bug and moved from 1.5.4 o 1.5.5.

Notifications set to yes.

Notes from contact page reach us.

Order copies do NOT reach us.

Is there anything for this?

Thanks.

Chief Plug Guy
BumperPlugs.com


User avatar
Active Member

Posts

Joined
Fri Jan 25, 2013 11:11 pm


Post by Foreverlution Design » Sun Oct 20, 2013 11:00 pm

Hi all,

This is a bit of a curve ball, but I was just wondering if it was possible to change the order notification layout keeping it still in text format but instead of having everything row after row, have it all inline?
Is this possible as I am really starting to struggle on this one? Currently I'm trying to edit catalog/model/checkout/order.php

This is the current view:-

Order ID: 596
Date Added: 15/10/2013
Order Status: Complete

Products
1x Pate, Chicken Liver & Brandy (Chicken Liver Pate ) £3.50

Order Totals
Sub-Total: £3.50
Collect Your Order from the Farm: £0.00
Total: £3.50

=======

This is how I want it to look:-

Order ID: 596 Date Added: 15/10/2013 Order Status: Complete Products 1x Pate, Chicken Liver & Brandy (Chicken Liver Pate ) £3.50 Order Totals Sub-Total: £3.50 Collect Your Order from the Farm: £0.00 Total: £3.50

Thanks,

Brian.


Posts

Joined
Thu Oct 03, 2013 4:33 am

Post by PlugGuy » Sun Oct 20, 2013 11:12 pm

Not sure on the above, hopefully some of the experts will chime in.

Would also love to get notification if any 'returns' are posted. Must click it manually, and we get few returns, but would like to have an option to trigger notification if one gets posted.

Chief Plug Guy
BumperPlugs.com


User avatar
Active Member

Posts

Joined
Fri Jan 25, 2013 11:11 pm


Post by cwswebdesign » Mon Oct 21, 2013 4:11 am

PlugGuy wrote:Not sure on the above, hopefully some of the experts will chime in.

Would also love to get notification if any 'returns' are posted. Must click it manually, and we get few returns, but would like to have an option to trigger notification if one gets posted.
By default you won't get return email notices. This extension will solve that: http://www.opencart.com/index.php?route ... ch=returns

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by cwswebdesign » Mon Oct 21, 2013 4:13 am

PlugGuy wrote:Had a checkout bug and moved from 1.5.4 o 1.5.5.

Notifications set to yes.

Notes from contact page reach us.

Order copies do NOT reach us.

Is there anything for this?

Thanks.
What are your current settings under system -->> settings -->> edit --> Mail? Are you trying to use the mail or SMTP function?

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by PlugGuy » Mon Oct 21, 2013 5:05 am

cwswebdesign wrote:
What are your current settings under system -->> settings -->> edit --> Mail? Are you trying to use the mail or SMTP function?

DL

We have no issues with mail, or order confirmations since resolving this long ago. Just wanted to get notification if someone posts a return.

We use the 'mail' protocol, works just fine. Thanks for the info on the extension.

Chief Plug Guy
BumperPlugs.com


User avatar
Active Member

Posts

Joined
Fri Jan 25, 2013 11:11 pm


Post by cwswebdesign » Mon Oct 21, 2013 6:30 am

PlugGuy wrote:
cwswebdesign wrote:
What are your current settings under system -->> settings -->> edit --> Mail? Are you trying to use the mail or SMTP function?

DL

We have no issues with mail, or order confirmations since resolving this long ago. Just wanted to get notification if someone posts a return.

We use the 'mail' protocol, works just fine. Thanks for the info on the extension.
I forgot to read the date that you posted about the emailing issues. Hope the extension helps you out though!

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA
Who is online

Users browsing this forum: No registered users and 14 guests