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
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.
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.
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
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
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?
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?
Who is online
Users browsing this forum: Google [Bot] and 316 guests