Zen Cart custom software development, Zen Cart modules, Zen Cart Expert eCommerce with Zen Cart!

Zen Cart Test Checkout Email

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. Donate

Relevance: Zen Cart™ 1.5.5 and above

Current Version: 1.0 (version history)

Support Thread: Test Checkout Email Support Thread

Cost: Free, but donation appreciated

Installation Instructions: click here

Location: Zen Cart Plugins, under Admin Tools

Download: Test Checkout Email in Zen Cart Plugins

FAQ: click here


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 order confirmation email to a customer who lost it. (If that's what you need, see Resend Order Confirmation Email in the Zen Cart FAQ.) The exact contents of the order confirmation email cannot be recreated, but Test Checkout Email is a very close approximation.
Examples of things that are not done during Test Checkout Email that are done during the creation of a real checkout email are:
  • Handling the preparation of downloads
  • Payment processing
  • Allowing the selection of a shipping address other than the customer's main address.

But it will allow you to test modifications to the checkout email quickly and without placing a new order each time.

Installation Instructions:

  1. Back up everything! Try this in a test environment prior to installing it on a live shop.
  2. Copy the contents of the unzipped folder to the root directory of your shop.
  3. 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.
  4. 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 editing test_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.