Advanced search page

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

The Advanced_search page is explained here.



Configuration options

This table below shows most of the configuration options including language text for the Advanced_search 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_1 'Advanced Search' Edit language file advanced_search.php near line 13 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_SEARCH_CRITERIA 'Choose Your Search Terms' Edit language file advanced_search.php near line 16 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_SEARCH_HELP_LINK 'Search Help [?]' Edit language file advanced_search.php near line 29 in the directory includes\languages\english\YOUR_TEMPLATE
KEYWORD_FORMAT_STRING 'keywords' Edit language file advanced_search.php near line 44 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_SEARCH_IN_DESCRIPTION 'Search In Product Descriptions' Edit language file advanced_search.php near line 18 in the directory includes\languages\english\YOUR_TEMPLATE
ENTRY_CATEGORIES 'Limit to Category:' Edit language file advanced_search.php near line 19 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_ALL_CATEGORIES 'All Categories' Edit language file advanced_search.php near line 31 in the directory includes\languages\english\YOUR_TEMPLATE
ENTRY_INCLUDE_SUBCATEGORIES 'Include Subcategories' Edit language file advanced_search.php near line 20 in the directory includes\languages\english\YOUR_TEMPLATE
ENTRY_MANUFACTURERS 'Limit to Manufacturer' Edit language file advanced_search.php near line 21 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_ALL_MANUFACTURERS 'All Manufacturers' Edit language file advanced_search.php near line 32 in the directory includes\languages\english\YOUR_TEMPLATE
ENTRY_PRICE_RANGE 'Search by Price Range' Edit language file advanced_search.php near line 22 in the directory includes\languages\english\YOUR_TEMPLATE
ENTRY_PRICE_FROM 'Price From:' Edit language file advanced_search.php near line 23 in the directory includes\languages\english\YOUR_TEMPLATE
ENTRY_PRICE_TO 'Price To:' Edit language file advanced_search.php near line 24 in the directory includes\languages\english\YOUR_TEMPLATE
ENTRY_DATE_RANGE 'Search by Date Added' Edit language file advanced_search.php near line 25 in the directory includes\languages\english\YOUR_TEMPLATE
ENTRY_DATE_FROM 'Date From:' Edit language file advanced_search.php near line 26 in the directory includes\languages\english\YOUR_TEMPLATE
DOB_FORMAT_STRING 'mm/dd/yyyy' Edit language file english.php near line 68 in the directory includes\languages\YOUR_TEMPLATE
ENTRY_DATE_TO 'Date To:' Edit language file advanced_search.php near line 27 in the directory includes\languages\english\YOUR_TEMPLATE
BUTTON_IMAGE_SEARCH File:Button search.gif Edit button image file 'button_search.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool
BUTTON_SEARCH_ALT 'Search' Edit button names file button_names.php near line 86 in the directory includes\languages\english\YOUR_TEMPLATE.
Note: This text will be visible when your hover over this button.
BUTTON_IMAGE_BACK File:Button back.gif Edit button image file 'button_back.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool
BUTTON_BACK_ALT 'Back' Edit button names file button_names.php near line 67 in the directory includes\languages\english\YOUR_TEMPLATE.
Note: This text will be visible when your hover over this button.
NAVBAR_TITLE_1 'Advanced Search' Edit language file advanced_search.php 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\advanced_search\header_php.php
  • includes\templates\template_default\templates\tpl_advanced_search_default.php

Defines (configuration options) are defined in:

  • includes\languages\english.php
  • includes\languages\english\advanced_search.php
  • includes\languages\english\button_names.php

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