View Single Post
  #6  
Old 03-04-2003, 10:43 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

This is possible but would rather some changes to the PHP scripts aswell as the templates.

If we are talking about the SEARCH side of things then I would put a hidden field in the advanced search template and the search part in head.tpl called something like 'sortby' and set this to be 'product'.

Then within the search.php file amend the sql query to order by $sortby.

Then make the links at the top of each column in your results links that pass on the existing string of variables and a new $sortby variable.
__________________
ex x-cart guru
Reply With Quote