Confirmation Page, Thank You Page, and E-Mail Receipt Templates:
Required Tags

The Confirmation Page, the Thank You Page and the E-Mail receipt all display some or all of the information that the customer entered on the Shopping Cart Page and the Shipping Page. Because of this, the templates share most of their custom template tags. The differences are:

  • The tags at the beginning and end of each template are different, such as the [-- DEFINE --] tags and the title/header/footer tags.
  • The Thank You Page and the E-Mail Receipt can display the order number; the Confirmation Page cannot.
  • The Confirmation Page has two [-- BUTTON name --] tags, and the Thank You Page and E-Mail Receipt have none.

The confirmation page can be turned on by the merchant to show customers all of the order information before they finalize the order. The Thank You page is the HTML receipt page for the order. The E-Mail Receipt is sent to customers when an order is completed. Other than the required tags, the contents of each template are up to you. For example, you do not have to include the payment information on the E-Mail Receipt.

Confirmation Page Example: Required Tags

The example below only shows the essential tags for a Confirmation Page; it is not a fully functional template and produces no visible output. Your template must have these tags in this order for this page to function. Of course, your template will also have other tags, but you must have the framework shown here to get started.

  • A Confirmation page template must start with [-- DEFINE Confirmation --] and it must end with [-- END_DEFINE Confirmation --]. (Note that the other cart pages are defined in the same file, but that isn't shown in this example.)
  • The opening <html> and closing </html> tags are inside the [-- DEFINE --] and [-- END_DEFINE --] tags.
  • The Confirmation Page uses JavaScript for some functions, so you must include the [-- SC_JAVASCRIPT extras --] tag inside <script> tags in the <head> section of the template.
  • The Confirmation Page is an HTML form. You must include the [-- SC_Form --] tag -- which produces the opening <form> tag with the necessary attributes -- near the top of the <body> section of the template, and you must put a </form> tag near the end.
  • The [-- ShopSiteMessages --] tag will produce any error messages, such as telling the customer that they must fill in required fields. It will not produce anything if there are no errors or messages for the customer.

Thank You Page Example: Required Tags

The example below only shows the essential tags for a Thank You Page; it is not a fully functional template and produces no visible output. Your template must have these tags in this order for this page to function. Of course, your template will also have other tags, but you must have the framework shown here to get started.

  • A Thank You page template must start with [-- DEFINE ThankYou --] and it must end with [-- END_DEFINE ThankYou --]. (Note that the other cart pages are defined in the same file, but that isn't shown in this example.)
  • The opening <html> and closing </html> tags are inside the [-- DEFINE --] and [-- END_DEFINE --] tags.
  • The Thank You Page use JavaScript for some functions, so you must include the [-- SC_JAVASCRIPT extras --] tag inside <script> tags in the <head> section of the template.

E-Mail Receipt Example: Required Tags

The example below only shows the essential tags for an E-Mail Receipt; it is not a fully functional template and produces no visible output. Your template must have these tags in this order for this template to function. Of course, your template will also have other tags, but you must have the framework shown here to get started.

  • An E-Mail Receipt template must start with [-- DEFINE ThankYou_Email --] and it must end with [-- END_DEFINE ThankYou_Email --]. (Note that the other cart pages are defined in the same file, but that isn't shown in this example.)
  • The opening <html> and closing </html> tags are inside the [-- DEFINE --] and [-- END_DEFINE --] tags.
  • The E-Mail Receipt does not use JavaScript.
  • The merchant must enable the "Customer E-mail Receipt in HTML format" checkbox, or your E-Mail Receipt template will be ignored and receipts will be sent in text format.
Next: Confirmation Colors