Popup attributes qty prices page
From Zen Cart(tm) Wiki
Configuration options
This table below shows most of the configuration options including language text for the Popup_attributes_qty_prices 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 |
|---|---|---|
| TEXT_CURRENT_CLOSE_WINDOW | '[ Close Window ]' | Edit language file english.php near line 418 in the directory includes\languages\YOUR_TEMPLATE\ |
| TEXT_ATTRIBUTES_QTY_PRICES_HELP | 'Option Quantity Discounts' | Edit language file english.php near line 507 in the directory includes\languages\YOUR_TEMPLATE\ |
| PRODUCTS_OPTIONS_SORT_ORDER | 0 | Change this in ADMIN Configuration --> Product Info --> Products Info - Products Option Name Sort Order. Sort order of Option Names for Products Info 0= Sort Order, Option Name 1= Option Name |
| PRODUCTS_OPTIONS_SORT_BY_PRICE | 1 | Change this in ADMIN Configuration --> Product Info --> Products Info - Product Option Value of Attributes Sort Order. Sort order of Product Option Values of Attributes for Products Info 0= Sort Order, Price 1= Sort Order, Option Value Name |
| TABLE_ATTRIBUTES_QTY_PRICE_QTY | 'QTY' | Edit language file english.php near line 508 in the directory includes\languages\YOUR_TEMPLATE\ |
| TABLE_ATTRIBUTES_QTY_PRICE_PRICE | 'PRICE' | Edit language file english.php near line 509 in the directory includes\languages\YOUR_TEMPLATE\ |
| TEXT_ATTRIBUTES_QTY_PRICES_ONETIME_HELP | 'Option Quantity Discounts Onetime Charges' | Edit language file english.php near line 510 in the directory includes\languages\YOUR_TEMPLATE\ |
NOTE: This table is made by looking for used defines in the following files:
- includes\modules\pages\popup_attributes_qty_prices\header_php.php
- includes\templates\template_default\popup_attributes_qty_prices\tpl_main_page.php
Defines (configuration options) are defined in:
- configuration table in the database
- includes\languages\english.php
Product type configuration option are ignored. Shipping, payment and Order Total module configuration option are also ignored. Tpl_module files are ignored The default classic template is also ignored. Functions in tpl_ files are ignored.