Post by Imagwerks » Sun Apr 05, 2009 5:32 am

I have installed OpenCart and have processed a complete order, however, the admin email is not receiving any notifications that customers have joined or that orders have been placed.

I cannot seem to find anywhere in the admin panel to be able to have email notifications sent. Is this an option that is available?

Regards,
Carl Diedrich

Newbie

Posts

Joined
Sun Apr 05, 2009 4:49 am

Post by phpuk » Sun Apr 05, 2009 6:27 am

Hi,

This does not currently exist although I have requested it in the next release which I believe will be ready for download soon.

I have simply added some additional code to email the site owner with a notification of order email untill the new release is available.

Phil.

Global Moderator

Posts

Joined
Wed Mar 25, 2009 10:57 am

Post by Daniel » Sun Apr 05, 2009 6:32 am

I have not included this in the next release.

I can d, but to be honest I have run sites with this feeature before and when you start getting to many orders it gets annoying.

Maybe the release after.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Nahuel » Sun Apr 05, 2009 7:08 am

A disable function pn the admin panel will be better, isn't it?

New member

Posts

Joined
Fri Mar 13, 2009 9:35 am

Post by phpuk » Sun Apr 05, 2009 7:24 am

Hi,

I agree that it should be there as an option really.

It's only a few lines of code to add something just a simple notification of order with order number would do. On/Off switch in admin would allow owners to control this.

In fact in version 1.2.5...

catelog/model/checkout/order.php
At the end of line 79 hit enter to add a new line and add this (it should work)...

// Added Store owner notify
$store_owner_message = 'Order ID: ' . $order_id . "\n" .
'Order Date: ' . date($this->language->get('date_format_short'), strtotime($query->row['date_added'])) . "\n" .
'Order Status: #' . $query->row['status'] . "\n";

$mail_store_owner = new Mail();
$mail_store_owner->setTo($this->config->get('config_email'));
$mail_store_owner->setFrom($this->config->get('config_email'));
$mail_store_owner->setSender($this->config->get('config_store'));
$mail_store_owner->setSubject($subject);
$mail_store_owner->setText($store_owner_message);
$mail_store_owner->send();

There you go - done.

Phil

Global Moderator

Posts

Joined
Wed Mar 25, 2009 10:57 am

Post by MarkF » Mon Apr 06, 2009 9:21 pm

Thanks Phil, I was looking to do this - works a treat!

Regards
Mark :)

New member

Posts

Joined
Tue Mar 17, 2009 9:54 pm

Post by Daniel » Mon Apr 06, 2009 9:29 pm

ok i'll add it.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Imagwerks » Tue Apr 07, 2009 1:45 am

Thank you for your help.

Newbie

Posts

Joined
Sun Apr 05, 2009 4:49 am

Post by Nicky » Wed Apr 29, 2009 8:45 pm

Just been looking through the forum for exactly this, I wanted a way of being notified by email of new orders and registrations etc..

What I actually wanted, rather than a separate email to be composed, is simply to get a blind copy of all emails sent via the shop ie. registration conirmation, order confirmation etc.. I thought it might just have been as easy as appending my email address to the section on the script which denotes where all the various emails get sent.

Is this possible?

Newbie

Posts

Joined
Thu Apr 23, 2009 6:13 am
Who is online

Users browsing this forum: No registered users and 21 guests