Product info page with no product

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

The Product_info page with no product is explained here.



Configuration options

This table below shows most of the configuration options including language text for the Product_info page with no product. 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
TEXT_PRODUCT_NOT_FOUND 'Sorry, the product was not found.' Edit language file product_info.php near line 10 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.
PRODUCT_INFO_CATEGORIES 1 Change this in ADMIN
Configuration --> Product Info --> Previous Next - Navigation Includes Category.

Product's Category Image and Name Alignment Above Previous/Next Navigation Bar
0= off
1= Align Left
2= Align Center
3= Align Right
PRODUCTS_IMAGE_NO_IMAGE_STATUS 1 Change this in ADMIN
Configuration --> Images --> Product Image - No Image Status.

Use automatic No Image when none is added to product
0= off
1= On
PRODUCTS_IMAGE_NO_IMAGE no_picture.gif Change this in ADMIN
Configuration --> Images --> Product Image - No Image picture.

Use automatic No Image when none is added to product
Default = no_picture.gif
PRODUCT_INFO_PREVIOUS_NEXT 1 Change this in ADMIN
Configuration --> Product Info --> Previous Next - Navigation Bar Position.

Location of Previous/Next Navigation Bar
0= off
1= Top of Page
2= Bottom of Page
3= Both Top and Bottom of Page

NOTE: This table is made by looking for used defines in the following files:

  • includes\modules\pages\product_info\header_php.php
  • includes\modules\pages\product_info\main_template_vars.php
  • includes\templates\template_default\templates\tpl_product_info_noproduct.php

Defines (configuration options) are defined in:

  • configuration table in the database
  • includes\languages\english\button_names.php
  • includes\languages\english\product_info.php

Product type configuration option are ignored Shipping, payment and Order Total module configuration option are also ignored