Gv redeem page

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

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

Name Default value How to change
HEADING_TITLE 'Redeem ' . TEXT_GV_NAME Edit language file gv_redeem.php 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 gv_redeem.php near line 25 in the directory includes\languages\english\YOUR_TEMPLATE
BUTTON_IMAGE_CONTINUE File:Button continue.gif Edit button image file 'button_continue.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.
NAVBAR_TITLE 'Redeem ' . TEXT_GV_NAME Edit language file gv_redeem.php 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 gv_redeem.php 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 gv_redeem.php 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