Checkout confirmation page

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

The Checkout_confirmation page is explained here.



Configuration options

This table below shows most of the configuration options including language text for the Checkout_confirmation 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 'Step 3 of 3 - Order Confirmation' Edit language file checkout_confirmation.php near line 13 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_BILLING_ADDRESS 'Billing/Payment Information' Edit language file checkout_confirmation.php near line 15 in the directory includes\languages\english\YOUR_TEMPLATE
BUTTON_IMAGE_EDIT_SMALL File:Small edit.gif Edit button image file 'small_edit.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool
BUTTON_EDIT_SMALL_ALT 'Edit' Edit button names file button_names.php near line 78 in the directory includes\languages\english\YOUR_TEMPLATE.
Note: This text will be visible when your hover over this button.
HEADING_PAYMENT_METHOD 'Payment Method:' Edit language file checkout_confirmation.php near line 18 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_DELIVERY_ADDRESS 'Delivery/Shipping Information' Edit language file checkout_confirmation.php near line 16 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_SHIPPING_METHOD 'Shipping Method:' Edit language file checkout_confirmation.php near line 17 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_ORDER_COMMENTS 'Special Instructions or Order Comments' Edit language file checkout_confirmation.php near line 21 in the directory includes\languages\english\YOUR_TEMPLATE
NO_COMMENTS_TEXT 'None' Edit language file checkout_confirmation.php near line 23 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_PRODUCTS 'Shopping Cart Contents' Edit language file checkout_confirmation.php near line 19 in the directory includes\languages\english\YOUR_TEMPLATE
TABLE_HEADING_QUANTITY 'Qty.' Edit language file english.php near line 574 in the directory includes\languages\YOUR_TEMPLATE
TABLE_HEADING_PRODUCTS 'Item Name' Edit language file english.php near line 575 in the directory includes\languages\YOUR_TEMPLATE
HEADING_TAX 'Tax' Edit language file checkout_confirmation.php near line 20 in the directory includes\languages\english\YOUR_TEMPLATE
TABLE_HEADING_TOTAL 'Total' Edit language file english.php near line 576 in the directory includes\languages\YOUR_TEMPLATE
BUTTON_IMAGE_CONFIRM_ORDER File:Button confirm order.gif Edit button image file 'button_confirm_order.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool
BUTTON_CONFIRM_ORDER_ALT 'Confirm Order' Edit button names file button_names.php near line 73 in the directory includes\languages\english\YOUR_TEMPLATE.
Note: This text will be visible when your hover over this button.
TITLE_CONTINUE_CHECKOUT_PROCEDURE 'Final Step' Edit language file checkout_confirmation.php near line 24 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_CONTINUE_CHECKOUT_PROCEDURE '- continue to confirm your order. Thank you!' Edit language file checkout_confirmation.php near line 25 in the directory includes\languages\english\YOUR_TEMPLATE
DISPLAY_CONDITIONS_ON_CHECKOUT false Change this in ADMIN
Configuration --> Regulations --> Confirm Terms and Conditions During Checkout Procedure.

Show the Terms and Conditions during the checkout procedure which the customer must agree to.
ERROR_CONDITIONS_NOT_ACCEPTED 'Please confirm the terms and conditions bound to this order by ticking the box below.' Edit language file english.php near line 175 in the directory includes\languages\YOUR_TEMPLATE
ERROR_NO_PAYMENT_MODULE_SELECTED 'Please select a payment method for your order.' Edit language file english.php near line 174 in the directory includes\languages\YOUR_TEMPLATE
STOCK_CHECK true Change this in ADMIN
Configuration --> Stock --> Check stock level.

Check to see if sufficent stock is available
STOCK_ALLOW_CHECKOUT true Change this in ADMIN
Configuration --> Stock --> Allow Checkout.

Allow customer to checkout even if there is insufficient stock
CUSTOMERS_REFERRAL_STATUS 0 Change this in ADMIN
Configuration --> Customer Details --> Customers Referral Status.

Customers Referral Code is created from
0= Off
1= 1st Discount Coupon Code used
2= Customer can add during create account or edit if blank

NOTE: Once the Customers Referral Code has been set it can only be changed in the Admin Customer
NAVBAR_TITLE_1 'Checkout' Edit language file checkout_confirmation.php near line 10 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_2 'Confirmation' Edit language file checkout_confirmation.php near line 11 in the directory includes\languages\english\YOUR_TEMPLATE

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

  • includes\modules\pages\checkout_confirmation\header_php.php
  • includes\templates\template_default\templates\tpl_checkout_confirmation_default.php

Defines (configuration options) are defined in:

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

Product type configuration option are ignored