Knowband Blog | Ecommerce Modules

How to Send Copy of Order Confirmation Mail to Store Owner (Admin) in Opencart ?

In Opencart there is functionality to automate sending order email to admin which we send to the customer after placing an order.

For Opencart 2.2

Follow the following steps to automate sending order emails to the admin:

Refer below screenshots

Note: Function add order history() in catalog/model/checkout/order.php file is used to send mail to mail to admin in. If you want to make any changes to the email then can make this function.

Search for ‘if ($this->config->get(‘config_order_mail’)) {‘ to find code to send mail to admin.

For Opencart 2.3

Follow the following steps to automate sending order emails to the admin:

Refer below screenshots

Note: Function addOrderHistory() in catalog/model/checkout/order.php file is used to send mail to mail to admin in. If you want to make any changes to the email then can make this function.

Search for ‘if (in_array(‘order’, (array)$this->config->get(‘config_mail_alert’))) {‘ to find code to send mail to admin.

In the End:

In order to enhance the functionality of your OpenCart store, Knowband offers a large selection of both free and paid OpenCart extensions. With a large variety of features available in these modules, the store admin can easily launch, develop, and grow their business. To know further about OpenCart Modules’ functionality and features, feel free to reach us at support@Knowband.com.