Difference between revisions of "Custom search"

From Zen Cart(tm) Wiki
Jump to: navigation, search
m
m (Reverted edits by Torke (Talk); changed back to last version by Allcanadiansearch.ca)
 
Line 21: Line 21:
  
 
To change the general product listing sort order, see [[Admin - Configuration - Product Listing]].
 
To change the general product listing sort order, see [[Admin - Configuration - Product Listing]].
 
 
 
[http://www.bestweb-online-casinos.com/slots-game/diamond-club-slots.html diamond club slots]
 
[http://www.casino-theory.com/online-casino-bonus/online-casino-net.html online casino net]
 
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
 
[http://www.casino-games-wiki.com/index.php/casino_games_game casino games game]
 
[http://www.casinos-new.com/blackjack.html Online casino - Blackjack online]
 
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
 
[http://www.magical-casino.com/strategy.html Online casino strategies.]
 
[http://www.gambling-online-theory.com/casinos/on-line-casinos.html on line casinos]
 
[http://www.gambling-online-theory.com/online-casino/online-casino-for-cash.html online casino for cash]
 
[http://www.3wcasinos.com/roulette-tips/index.html roulette tips]
 

Latest revision as of 22:02, 17 November 2006

The query for the search feature in the shop is created (for v1.2.x) in:

includes/blocks/blk_advanced_search_result.php


At this time you can not override this file.


If you want to adjust which database columns to search through, you would have to manipulate the variable $where_str in that file.


Remember that by combining php and html (html would go in the proper template file) you can use form input, like checkboxes or drop-down menus, to decide how to create the query.


Sort order

The search results use the same sort order as the other product listings. If you want to use a separate sort order for search results, you need to adjust the variable $order_str in

includes/blocks/blk_advanced_search_result.php


To change the general product listing sort order, see Admin - Configuration - Product Listing.