A laptop displays the blue OpenCart logo on a desk beside a metal mug, notebook, pen, and turquoise desk accessories.
The OpenCart logo appears on a laptop beside everyday desk items, reflecting the guide to sending full HTML order and status emails to store admin.

How to fix OpenCart 3.0.4.0: Send full HTML order & status emails to store admin

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:

  1. add() fires the rich HTML invoice (mail/order_add) to the customer.
  2. edit() sends the status update notification (mail/order_edit) to the customer.
  3. 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:

How to Install

  1. Download the Package: Click and download the above zip file (Note: Package your XML file into a zip archive with the extension .ocmod.zip).
  2. Upload via Admin: Log into your OpenCart admin panel, navigate to Extensions -> Installer, and upload the .ocmod.zip file.
  3. Refresh Modifications: Go to Extensions -> Modifications and click the blue Refresh button at the top right to compile the changes.
  4. 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.
See also  Opencart Error in Aftership tracking plugin da_track_shipment on line 18

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.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *