Difference between revisions of "Gv redeem page"

From Zen Cart(tm) Wiki
Jump to: navigation, search
(Initial version)
 
Line 1: Line 1:
The '''Gv_redeem page''' is explained here.
 
  
 
 
 
 
== Configuration options ==
 
This table below shows most of the configuration options including language text for the ''Gv_redeem 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 
 
|  'Redeem ' . TEXT_GV_NAME 
 
| Edit language file<b> gv_redeem.php</b> near line 24 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| TEXT_INFORMATION 
 
|  'For more information regarding ' . TEXT_GV_NAME . ', please see our <a href="' . zen_href_link(FILENAME_GV_FAQ, '', 'NONSSL').'">' . GV_FAQ . '.</a>' 
 
| Edit language file<b> gv_redeem.php</b> near line 25 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| BUTTON_IMAGE_CONTINUE 
 
| [[Image:button_continue.gif]] 
 
| Edit button image file<b>  'button_continue.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_CONTINUE_ALT 
 
|  'Continue' 
 
| Edit button names file<b> button_names.php</b> near line 74 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| NAVBAR_TITLE 
 
|  'Redeem ' . TEXT_GV_NAME 
 
| Edit language file<b> gv_redeem.php</b> near line 23 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| TEXT_VALID_GV 
 
|  'Congratulations, you have redeemed a ' . TEXT_GV_NAME . ' worth %s.' 
 
| Edit language file<b> gv_redeem.php</b> near line 27 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| TEXT_INVALID_GV 
 
|  'The ' . TEXT_GV_NAME . ' number may be invalid or has already been redeemed. To contact the shop owner please use the Contact Page' 
 
| Edit language file<b> gv_redeem.php</b> near line 26 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\gv_redeem\header_php.php
 
* includes\templates\template_default\templates\tpl_gv_redeem_default.php
 
Defines (configuration options) are defined in:
 
* includes\languages\english\button_names.php
 
* includes\languages\english\gv_redeem.php
 
Product type configuration option are ignored
 
Shipping, payment and Order Total module configuration option are also ignored
 

Revision as of 00:39, 5 December 2007