If you run an OpenCart 3.0.4.0 store, you’ve probably noticed a frustrating quirk: Customers get a gorgeous, detailed HTML order confirmation and status update email, while the store admin gets a stripped-down, plain-text alert.
If you want your admin inbox to receive the exact same clean, comprehensive HTML order processing and update emails as your customers, this guide and free OCMOD will solve it instantly.
The problem with default OpenCart Admin emails
Out of the box, OpenCart handles emails via event-driven controllers in catalog/controller/mail/order.php:
add()fires the rich HTML invoice (mail/order_add) to the customer.edit()sends the status update notification (mail/order_edit) to the customer.alert()fires a basic plain-text notification to the store owner.
Most older OCMODs fail on OpenCart 3.0.4.0 because they try to hook into legacy model files (catalog/model/checkout/order.php) which no longer house the primary email-dispatch logic in newer 3.x releases.
The solution: A lightweight OCMOD for OpenCart 3.0.4.0
This simple OCMOD intercepts the mail controller right after the customer’s email is built and automatically dispatches a copy to your primary store admin email (config_email) and any additional alert addresses you’ve configured.
1. The OCMOD XML Code (admin_customer_order_email.ocmod.xml)
If you want to create the file manually, save the following code as admin_customer_order_email.ocmod.xml:
<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>Send Customer Order Processing & Update Emails to Admin</name>
<code>admin_customer_order_email_copy</code>
<version>1.0.0</version>
<author>Ethweb Datacomm</author>
<link>https://ethwebs.net</link>
<file path="catalog/controller/mail/order.php">
<!-- 1. Send the full HTML New Order (Processing) email to Admin -->
<operation>
<search><![CDATA[$mail->setHtml($this->load->view('mail/order_add', $data));]]></search>
<add position="replace" offset="1"><![CDATA[$mail->setHtml($this->load->view('mail/order_add', $data));
$mail->send();
// Send exact HTML copy to Store Admin
if ($this->config->get('config_email')) {
$mail->setTo($this->config->get('config_email'));
$mail->send();
}
// Send to any additional alert emails configured in Store Settings
$emails = explode(',', (string)$this->config->get('config_mail_alert_email'));
foreach ($emails as $email) {
$email = trim($email);
if ($email && filter_var($email, FILTER_VALIDATE_EMAIL)) {
$mail->setTo($email);
$mail->send();
}
}]]></add>
</operation>
<!-- 2. Send Order Status Update (History) emails to Admin as well -->
<operation>
<search><![CDATA[$mail->setText($this->load->view('mail/order_edit', $data));]]></search>
<add position="replace" offset="1"><![CDATA[$mail->setText($this->load->view('mail/order_edit', $data));
$mail->send();
// Send copy of status update to Store Admin
if ($this->config->get('config_email')) {
$mail->setTo($this->config->get('config_email'));
$mail->send();
}
$emails = explode(',', (string)$this->config->get('config_mail_alert_email'));
foreach ($emails as $email) {
$email = trim($email);
if ($email && filter_var($email, FILTER_VALIDATE_EMAIL)) {
$mail->setTo($email);
$mail->send();
}
}]]></add>
</operation>
</file>
</modification>
How to Install
- Download the Package: Click and download the above zip file (Note: Package your XML file into a zip archive with the extension
.ocmod.zip). - Upload via Admin: Log into your OpenCart admin panel, navigate to Extensions -> Installer, and upload the
.ocmod.zipfile. - Refresh Modifications: Go to Extensions -> Modifications and click the blue Refresh button at the top right to compile the changes.
- Pro-Tip: If you want to stop receiving the old, ugly plain-text alert emails, go to System -> Settings -> Your Store -> Mail tab, scroll down to Mail Alerts, and uncheck Orders.
Looking for more OpenCart fixes or budget friendly hosting?
If this tutorial solved your admin email headache, be sure to explore our online store at shop.wayanad.co.in—running live on OpenCart—where we offer curated local products, spice gift boxes, and specialty items straight from Wayanad.
Running your own OpenCart store on a budget? Power your e-commerce site with Ethwebs.net. We specialize in high-performance, cost-effective hosting tailored for small businesses, complete with professional business email accounts that you can instantly plug into OpenCart’s SMTP settings to ensure your order emails and customer notifications never land in the spam folder. Get in touch with us for reliable web solutions.

