[ic] How to Sort Items by certain field

Christopher Wenham cwenham at synesmedia.com
Tue Nov 18 01:10:21 EST 2003

On Monday 17 November 2003 22:34, Matthew Villa wrote:
> On some product list pages I want to sort by a certain column such as
> price or by title. How do I do that?

 I'm going to assume you're using the product listing method that comes with 
the Foundation catalog and the "Vertical Category" component. 

 There's two ways. The first and best is to add "tf=column_name" (or 
"mv_sort_field=column_name" in the long format) in the search definition. You 
could do that by editing the link that summons the product listing.

 The other way is slower, but can be done from inside the results.html page. 
Add [sort products:column_name:f] just after the [search-list] tag.

Chris Wenham - Synesmedia, Inc.
516-620-4110 / 1-888-255-7573
Fax: 516-908-7824

More information about the interchange-users mailing list