Checkout shipping page

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

The Checkout_shipping page is explained here.



Configuration options

This table below shows most of the configuration options including language text for the Checkout_shipping 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 1 of 3 - Delivery Information' Edit language file checkout_shipping.php near line 13 in the directory includes\languages\english\YOUR_TEMPLATE
TITLE_SHIPPING_ADDRESS 'Shipping Information:' Edit language file checkout_shipping.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_CHOOSE_SHIPPING_DESTINATION 'Your order will be shipped to the address at the left or you may change the shipping address by clicking the Change Address button.' Edit language file checkout_shipping.php near line 16 in the directory includes\languages\english\YOUR_TEMPLATE
TABLE_HEADING_SHIPPING_METHOD 'Shipping Method:' Edit language file checkout_shipping.php near line 19 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_CHOOSE_SHIPPING_METHOD 'Please select the preferred shipping method to use on this order.' Edit language file checkout_shipping.php near line 20 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_ENTER_SHIPPING_INFORMATION 'This is currently the only shipping method available to use on this order.' Edit language file checkout_shipping.php near line 22 in the directory includes\languages\english\YOUR_TEMPLATE
FREE_SHIPPING_TITLE 'Free Shipping' Edit language file checkout_shipping.php near line 30 in the directory includes\languages\english\YOUR_TEMPLATE
FREE_SHIPPING_DESCRIPTION 'Free shipping for orders over %s' Edit language file checkout_shipping.php near line 31 in the directory includes\languages\english\YOUR_TEMPLATE
TABLE_HEADING_COMMENTS 'Special Instructions or Comments About Your Order' Edit language file checkout_shipping.php near line 24 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 2' Edit language file checkout_shipping.php near line 26 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_CONTINUE_CHECKOUT_PROCEDURE '- choose your payment method.' Edit language file checkout_shipping.php near line 27 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
STORE_COUNTRY 150 Change this in ADMIN
Configuration --> My Store --> Country.

The country my store is located in

Note: Please remember to update the store zone.
NAVBAR_TITLE_1 'Checkout' Edit language file checkout_shipping.php near line 10 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_2 'Shipping Method' Edit language file checkout_shipping.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_shipping\header_php.php
  • includes\templates\template_default\templates\tpl_checkout_shipping_default.php

Defines (configuration options) are defined in:

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

Product type configuration option are ignored