Difference between revisions of "Info shopping cart page"

From Zen Cart(tm) Wiki
Jump to: navigation, search
m (Correction)
Line 1: Line 1:
The '''Info_shopping_cart page''' is explained here.
 
  
 
 
 
== Configuration options ==
 
This table below shows most of the configuration options including language text for the ''Info_shopping_cart 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]]
 
 
 
{| border="1" style="border-collapse:collapse;border:1px solid silver;width:100%;"
 
|- style="background:Lightblue;text-align:left;"
 
! | Name 
 
! | Default value 
 
! | How to change 
 
|-
 
| HEADING_TITLE 
 
|  'Visitors Cart / Members Cart' 
 
| Edit language file<b> info_shopping_cart.php</b> near line 23 in the directory ''includes\languages\english\YOUR_TEMPLATE\'' 
 
|-
 
| SUB_HEADING_TITLE_1 
 
|  'Visitors Cart' 
 
| Edit language file<b> info_shopping_cart.php</b> near line 24 in the directory ''includes\languages\english\YOUR_TEMPLATE\'' 
 
|-
 
| SUB_HEADING_TEXT_1 
 
|  'Every visitor to our online shop will be given a '\Visitors Cart'\. This allows the visitor to store their products in a temporary shopping cart. Once the visitor leaves the online shop, so will the contents of their shopping cart.' 
 
| Edit language file<b> info_shopping_cart.php</b> near line 27 in the directory ''includes\languages\english\YOUR_TEMPLATE\'' 
 
|-
 
| SUB_HEADING_TITLE_2 
 
|  'Members Cart' 
 
| Edit language file<b> info_shopping_cart.php</b> near line 25 in the directory ''includes\languages\english\YOUR_TEMPLATE\'' 
 
|-
 
| SUB_HEADING_TEXT_2 
 
|  'Every member to our online shop that logs in is given a '\Members Cart'\. This allows the member to add products to their shopping cart, and come back at a later date to finalize their checkout. All products remain in their shopping cart until the member has  checked them out, or removed the products themselves.' 
 
| Edit language file<b> info_shopping_cart.php</b> near line 28 in the directory ''includes\languages\english\YOUR_TEMPLATE\'' 
 
|-
 
| SUB_HEADING_TITLE_3 
 
|  'Info' 
 
| Edit language file<b> info_shopping_cart.php</b> near line 26 in the directory ''includes\languages\english\YOUR_TEMPLATE\'' 
 
|-
 
| SUB_HEADING_TEXT_3 
 
|  'If a member adds products to their '\Visitors Cart'\ and decides to log in to the online shop to use their '\Members Cart'\, the contents of their '\Visitors Cart'\ will merge with their '\Members Cart'\ contents automatically.' 
 
| Edit language file<b> info_shopping_cart.php</b> near line 29 in the directory ''includes\languages\english\YOUR_TEMPLATE\'' 
 
|-
 
| TEXT_CURRENT_CLOSE_WINDOW 
 
| '[ Close Window ]' 
 
| Edit language file<b> english.php</b> near line 418 in the directory ''includes\languages\YOUR_TEMPLATE\'' 
 
|}
 
 
NOTE:
 
This table is made by looking for used defines in the following files:
 
* includes\modules\pages\info_shopping_cart\header_php.php
 
* includes\templates\template_default\info_shopping_cart\tpl_main_page.php
 
Defines (configuration options) are defined in:
 
* includes\languages\english.php
 
* includes\languages\english\info_shopping_cart.php
 
Product type configuration option are ignored.
 
Shipping, payment and Order Total module configuration option are also ignored.
 
Tpl_module files are ignored
 
The default ''classic'' template is also ignored.
 
Functions in tpl_ files are ignored.
 

Revision as of 00:40, 5 December 2007