Checkout success page

From Zen Cart(tm) Wiki
Jump to: navigation, search

The Checkout_success page is explained here.

Configuration options

This table below shows most of the configuration options including language text for the Checkout_success page. It is based on a ZenCart version 1.3.0. Before editing files copy the original file (if not done before) to YOUR_TEMPLATE directory.

Copy image and button files

  • from includes\templates\template_default\images\..... to includes\templates\YOUR_TEMPLATE\images\.....
  • from includes\templates\template_default\buttons\..... to includes\templates\YOUR_TEMPLATE\buttons\.....

Copy language files

  • from includes\language\..... to includes\language\YOUR_TEMPLATE\.....
  • from includes\language\english\..... to includes\language\english\YOUR_TEMPLATE\.....

See also Customisation - Templates

Name Default value How to change
HEADING_TITLE 'Thank You! We Appreciate your Business!' Edit language file checkout_success.php near line 13 in the directory includes\languages\english\YOUR_TEMPLATE
Configuration --> Define Page Status --> Define Checkout Success.

Enable the Defined Checkout Success Link/Text?
0= Link ON, Define Text OFF
1= Link ON, Define Text ON
2= Link OFF, Define Text ON
3= Link OFF, Define Text OFF
DOWNLOAD_ENABLED true Change this in ADMIN
Configuration --> Attribute Settings --> Enable Downloads.

Enable the products download functions.
TEXT_NOTIFY_PRODUCTS 'Please notify me of updates to these products' Edit language file checkout_success.php near line 16 in the directory includes\languages\english\YOUR_TEMPLATE
BUTTON_IMAGE_UPDATE File:Button update.gif Edit button image file 'button_update.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool
BUTTON_UPDATE_ALT 'Update' Edit button names file button_names.php near line 97 in the directory includes\languages\english\YOUR_TEMPLATE.
Note: This text will be visible when your hover over this button.
TEXT_YOUR_ORDER_NUMBER 'Your Order Number is: ' Edit language file checkout_success.php near line 25 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_SEE_ORDERS 'You can view your order history by going to the <a href="' . zen_href_link(FILENAME_ACCOUNT, , 'SSL') . '">My Account</a> page and by clicking on "View All Orders".' Edit language file checkout_success.php near line 17 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_CONTACT_STORE_OWNER 'Please direct any questions you have to <a href="' . zen_href_link(FILENAME_CONTACT_US) . '">customer service</a>.' Edit language file checkout_success.php near line 18 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_THANKS_FOR_SHOPPING 'Thanks for shopping with us online!' Edit language file checkout_success.php near line 19 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_1 'Checkout' Edit language file checkout_success.php near line 10 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_2 'Success - Thank You' Edit language file checkout_success.php near line 11 in the directory includes\languages\english\YOUR_TEMPLATE
Configuration --> Customer Details --> Customer Product Notification Status.

Customer should be asked about product notifications after checkout success
0= Never ask
1= Ask, unless already set to global

Note: Sidebox must be turned off separately

Checkout Success Sample Text ...

A few words about the approximate shipping time or your processing policy would be put here.

This section of text is from the Define Pages Editor located under Tools in the Admin.

Edit define page file define_checkout_success
(Tools --> Define Pages Editor)

NOTE: This table is made by looking for used defines in the following files:

  • includes\modules\pages\checkout_success\header_php.php
  • includes\templates\template_default\templates\tpl_checkout_success_default.php

Defines (configuration options) are defined in:

  • Configuration table in the database
  • includes\filenames.php
  • includes\languages\english\button_names.php
  • includes\languages\english\checkout_success.php

Product type configuration option are ignored Shipping, payment and Order Total module configuration option are also ignored