Checkout payment page
From Zen Cart(tm) Wiki
The Checkout_payment page is explained here.
Configuration options
This table below shows most of the configuration options including language text for the Checkout_payment 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 2 of 3 - Payment Information' | Edit language file checkout_payment.php near line 13 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. |
| TABLE_HEADING_CONDITIONS | 'Terms and Conditions' | Edit language file checkout_payment.php near line 28 in the directory includes\languages\english\YOUR_TEMPLATE |
| TEXT_CONDITIONS_DESCRIPTION | 'Please acknowledge the terms and conditions bound to this order by ticking the following box. The terms and conditions can be read <a href="' . zen_href_link(FILENAME_CONDITIONS, , 'SSL') . '">here</a>.' | Edit language file checkout_payment.php near line 29 in the directory includes\languages\english\YOUR_TEMPLATE |
| TEXT_CONDITIONS_CONFIRM | 'I have read and agreed to the terms and conditions bound to this order.' | Edit language file checkout_payment.php near line 30 in the directory includes\languages\english\YOUR_TEMPLATE |
| TITLE_BILLING_ADDRESS | 'Billing Address:' | Edit language file checkout_payment.php near line 17 in the directory includes\languages\english\YOUR_TEMPLATE |
| BUTTON_IMAGE_CHANGE_ADDRESS | File:Button change address.gif | Edit button image file 'button_change_address.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_CHANGE_ADDRESS_ALT | 'Change Address' | Edit button names file button_names.php near line 70 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| TEXT_SELECTED_BILLING_DESTINATION | 'Your billing address is shown to the left. The billing address should match the address on your credit card statement. You can change the billing address by clicking the Change Address button.' | Edit language file checkout_payment.php near line 16 in the directory includes\languages\english\YOUR_TEMPLATE |
| TEXT_YOUR_TOTAL | 'Your Total' | Edit language file checkout_payment.php near line 33 in the directory includes\languages\english\YOUR_TEMPLATE |
| TABLE_HEADING_PAYMENT_METHOD | 'Payment Method' | Edit language file checkout_payment.php near line 19 in the directory includes\languages\english\YOUR_TEMPLATE |
| SHOW_ACCEPTED_CREDIT_CARDS | 0 | Change this in ADMIN Configuration --> Credit Cards --> Credit Card Enabled - Show on Payment. Show accepted credit cards on Payment page? 0= off 1= As Text 2= As Images Note: images and text must be defined in both the database and language file for specific credit card types. |
| TEXT_SELECT_PAYMENT_METHOD | 'Please select a payment method for this order.' | Edit language file checkout_payment.php near line 20 in the directory includes\languages\english\YOUR_TEMPLATE |
| TEXT_ENTER_PAYMENT_INFORMATION | 'This is currently the only payment method available to use on this order.' | Edit language file checkout_payment.php near line 22 in the directory includes\languages\english\YOUR_TEMPLATE |
| TABLE_HEADING_COMMENTS | 'Special Instructions or Order Comments' | Edit language file checkout_payment.php near line 23 in the directory includes\languages\english\YOUR_TEMPLATE |
| BUTTON_IMAGE_CONTINUE_CHECKOUT | File:Button continue checkout.gif | Edit button image file 'button_continue_checkout.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_CONTINUE_ALT | 'Continue' | Edit button names file button_names.php near line 74 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| TITLE_CONTINUE_CHECKOUT_PROCEDURE | 'Continue to Step 3' | Edit language file checkout_payment.php near line 25 in the directory includes\languages\english\YOUR_TEMPLATE |
| TEXT_CONTINUE_CHECKOUT_PROCEDURE | '- to confirm your order.' | Edit language file checkout_payment.php near line 26 in the directory includes\languages\english\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 |
| NAVBAR_TITLE_1 | 'Checkout - Step 1' | Edit language file checkout_payment.php near line 10 in the directory includes\languages\english\YOUR_TEMPLATE |
| NAVBAR_TITLE_2 | 'Payment Method - Step 2' | Edit language file checkout_payment.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_payment\header_php.php
- includes\templates\template_default\templates\tpl_checkout_payment_default.php
Defines (configuration options) are defined in:
- Configuration table in the database
- includes\languages\english\button_names.php
- includes\languages\english\checkout_payment.php
Product type configuration option are ignored Shipping, payment and Order Total module configuration option are also ignored
