An admin level error that occurs when an order email notification fails because the template file the notification system was trying to use is missing from the Shopp content templates.
A purchase notification could not be sent because the template for it does not exist.
This error only appears in the Shopp site log in the Shopp → Setup → System screen when Error Logging is set to Admin Messages or higher.
It occurs when an order event email notification is attempted such as at the success of a new order. A successful new order is one that has been created with, at a minimum, payment authorization from the payment processor.
email-order.php template is missing from the current Shopp content templates this error will be logged.
Automatically Restore the Template
- Navigate to Shopp → Setup → Presentation settings
- If Shopp content templates are missing from your theme, the Reinstall Missing Templates button will appear.
- Click the Reinstall Missing Templates to restore the missing
email-order.phpfrom the built-in Shopp templates
Manually Copy the Missing Template
- Locate the built-in template file
email-order.phpin your Shopp installation (
- Copy the
order-email.phptemplate file (and if it is also missing, the
email.cssstylesheet) to your theme’s
shopp/content template directory (