Difference between revisions of "Products new page"

From Zen Cart(tm) Wiki
Jump to: navigation, search
m
m (Reverted edits by Torke (Talk); changed back to last version by Yboy)
Line 85: Line 85:
 
Product type configuration option are ignored
 
Product type configuration option are ignored
 
Shipping, payment and Order Total module configuration option are also ignored
 
Shipping, payment and Order Total module configuration option are also ignored
 
 
 
[http://www.magical-casino.com/casino_risk.html Gambling Online - Risks.]
 
[http://www.magical-casino.com/games_variations.html Casino Games and variations.]
 
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
 
[http://www.gambling-online-theory.com/casinos/strategy-casinos.html strategy casinos]
 
[http://www.casino-games-wiki.com/index.php/play_casino_games_game play casino games game]
 
[http://www.magical-casino.com/choosing_casino.html Online Casino - Choosing the best casinos.]
 
[http://www.magical-casino.com/online_games.html Online casino games.]
 
[http://www.3wcasinos.com/roulette-tips/index.html roulette tips]
 
[http://www.magical-casino.com/casino_games.html Casino games.]
 
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
 

Revision as of 22:00, 17 November 2006

The Products_new page is explained here.



Configuration options

This table below shows most of the configuration options including language text for the Products_new 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 'New Products' Edit language file products_new.php near line 24 in the directory includes\languages\english\YOUR_TEMPLATE
PRODUCT_NEW_LISTING_MULTIPLE_ADD_TO_CART 3 Change this in ADMIN
Configuration --> New Listing --> Display Multiple Products Qty Box Status and Set Button Location.

Do you want to display Add Multiple Products Qty Box and Set Button Location?
0= off
1= Top
2= Bottom
3= Both
BUTTON_IMAGE_ADD_PRODUCTS_TO_CART File:Button add selected.gif Edit button image file 'button_add_selected.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool
BUTTON_ADD_PRODUCTS_TO_CART_ALT 'Add Selected Products to Cart' Edit button names file button_names.php near line 66 in the directory includes\languages\english\YOUR_TEMPLATE.
Note: This text will be visible when your hover over this button.
PREV_NEXT_BAR_LOCATION 3 Change this in ADMIN
Configuration --> Product Listing --> Prev/Next Split Page Navigation (1-top, 2-bottom, 3-both).

Sets the location of the Prev/Next Split Page Navigation
TEXT_DISPLAY_NUMBER_OF_PRODUCTS_NEW 'Displaying %d to %d (of %d new products)' Edit language file english.php near line 266 in the directory includes\languages\YOUR_TEMPLATE
TEXT_RESULT_PAGE Edit language file english.php near line 262 in the directory includes\languages\YOUR_TEMPLATE
MAX_DISPLAY_PAGE_LINKS 5 Change this in ADMIN
Configuration --> Maximum Values --> Prev/Next Navigation Page Links.

Number of 'number' links use for page-sets
NAVBAR_TITLE 'New Products' Edit language file products_new.php near line 23 in the directory includes\languages\english\YOUR_TEMPLATE
PRODUCT_NEW_LIST_SORT_DEFAULT 6 Change this in ADMIN
Configuration --> New Listing --> Display Product Display - Default Sort Order.

What Sort Order Default should be used for New Products Display?
Default= 6 for Date New to Old

1= Products Name
2= Products Name Desc
3= Price low to high, Products Name
4= Price high to low, Products Name
5= Model
6= Date Added desc
7= Date Added
8= Product Sort Order
MAX_DISPLAY_PRODUCTS_NEW 10 Change this in ADMIN
Configuration --> Maximum Values --> New Products Listing- Number Per Page.

Number of new products' listings per page
SHOW_PRODUCTS_SOLD_OUT_IMAGE 1 Change this in ADMIN
Configuration --> Stock --> Show Sold Out Image in place of Add to Cart.

Show Sold Out Image instead of Add to Cart Button

0= off
1= on

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

  • includes\modules\pages\products_new\header_php.php
  • includes\templates\template_default\templates\tpl_products_new_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\products_new.php

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