Difference between revisions of "Product reviews info page"

From Zen Cart(tm) Wiki
Jump to: navigation, search
(Initial version)
 
Line 1: Line 1:
The '''Product_reviews_info page''' is explained here.
 
  
 
 
 
 
== Configuration options ==
 
This table below shows most of the configuration options including language text for the ''Product_reviews_info 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 
 
|-
 
| BUTTON_IMAGE_IN_CART 
 
| [[Image:button_in_cart.gif]] 
 
| Edit button image file<b>  'button_in_cart.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_IN_CART_ALT 
 
|  'Add to Cart' 
 
| Edit button names file<b> button_names.php</b> near line 79 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| BUTTON_IMAGE_GOTO_PROD_DETAILS 
 
| [[Image:button_goto_prod_details.gif]] 
 
| Edit button image file<b>  'button_goto_prod_details.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_GOTO_PROD_DETAILS_ALT 
 
|  'Go To This Product'\s Detailed Information' 
 
| Edit button names file<b> button_names.php</b> near line 101 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| BUTTON_IMAGE_MORE_REVIEWS 
 
| [[Image:button_more_reviews.gif]] 
 
| Edit button image file<b>  'button_more_reviews.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_MORE_REVIEWS_ALT 
 
|  'Read More Reviews' 
 
| Edit button names file<b> button_names.php</b> near line 102 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| BUTTON_IMAGE_WRITE_REVIEW 
 
| [[Image:button_write_review.gif]] 
 
| Edit button image file<b>  'button_write_review.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_WRITE_REVIEW_ALT 
 
|  'Write Review' 
 
| Edit button names file<b> button_names.php</b> near line 99 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| TEXT_OF_5_STARS 
 
|  '' 
 
| Edit language file<b> product_reviews_info.php</b> near line 16 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| TEXT_REVIEW_DATE_ADDED 
 
|  'Date Added: %s' 
 
| Edit language file<b> english.php</b> near line 295 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 
|-
 
| TEXT_REVIEW_BY 
 
|  'by %s' 
 
| Edit language file<b> english.php</b> near line 292 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 
|-
 
| PRODUCTS_IMAGE_NO_IMAGE_STATUS 
 
| 1 
 
| Change this in ADMIN<br /><b>Configuration --> Images --> [[Admin - Configuration - Images#Product Image - No Image Status|Product Image - No Image Status]].</b><br /><br />Use automatic No Image when none is added to product<br />0= off<br />1= On 
 
|-
 
| PRODUCTS_IMAGE_NO_IMAGE 
 
| no_picture.gif 
 
| Change this in ADMIN<br /><b>Configuration --> Images --> [[Admin - Configuration - Images#Product Image - No Image picture|Product Image - No Image picture]].</b><br /><br />Use automatic No Image when none is added to product<br />Default = no_picture.gif 
 
|-
 
| NAVBAR_TITLE 
 
|  'Reviews' 
 
| Edit language file<b> product_reviews_info.php</b> near line 10 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\product_reviews_info\header_php.php
 
* includes\templates\template_default\templates\tpl_product_reviews_info_default.php
 
Defines (configuration options) are defined in:
 
* configuration table in the database
 
* includes\languages\english.php
 
* includes\languages\english\button_names.php
 
* includes\languages\english\product_reviews_info.php
 
Product type configuration option are ignored
 
Shipping, payment and Order Total module configuration option are also ignored
 

Revision as of 00:41, 5 December 2007