
Zen Cart Test Checkout Email
The Test Checkout Email mod allows you to test changes to the Zen Cart checkout (order confirmation) email without having to place a new order.Donate: This is free software. Show your appreciation by supporting my efforts.

Relevance: Zen Cart™ 1.5.7 and above
Current Version: 1.0 (version history)
Support Thread: Test Checkout Email Support Thread
Cost: Free, but donation appreciated
Installation Instructions: click here for installation instructions
Location: Zen Cart Plugins, under Admin Tools
Download: Test Checkout Email in Zen Cart Plugins
FAQ: click here for FAQ
Overview:
Zen Cart provides HTML formatted emails for a variety of situations - but customizing them can be time consuming. In particular, customizing the checkout (or "order confirmation") email requires running a new test order to verify each change you make.Test Checkout Email allows you to resend an order confirmation using the data from the original order, processed again using the same
order:send_order_email()
function that sent the original email.
So you can make changes to the checkout email and quickly test them without needing to create another order.
To run Test Checkout Email, follow the installation instructions below, then in the address bar of your browser, go to the URL
YOURSTORE.com/test_checkout_email.php?oID=order-number-to-resend
Limitations
Test Checkout Email is not designed to resend an exact replica of a customer's order confirmation email. (Note: If that's what you need, see Resend Order Confirmation Email in the Zen Cart FAQ.) It's designed to allow you to test styling changes in both the HTML and text emails, without the need to place a new order for each test.The reason for this is that some actions are performed at checkout time during the creation of the order confirmation email that you would not want repeated, such as:
- Preparing downloadable items
- Interaction with the Payment processing system
- Custom actions defined by the store owner.
But Test Checkout Email will allow you to test modifications to the checkout email quickly and without placing a new order each time.
Installation Instructions:
- Back up everything! Try this in a test environment prior to installing it on a live shop.
- Copy the contents of the unzipped folder to the root directory of your shop.
- By default, emails go to the address specified in Admin > Configuration > Email > Email Address (Displayed to Contact you). You may change this by
editing
test_checkout_email.php
. - By default, the order used to create the email is the one passed in using the
oID
argument in the URL. You may change this by editingtest_checkout_email.php
.
Related Plugins
Resources on Zen Cart Email
Major Versions
- 1.0 10/02/2020 - First Release
FAQ
Q: What's the difference between Test Checkout Email and Preview Email ?A: Preview Email shows you what one of the HTML emails sent by the cart (including the checkout email) will look like after you make changes to the HTML template. Test Checkout Email actually *re-sends* a checkout email for an order to the store owner, so you can verify both the text and HTML emails after making changes.