VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Sort shopquery.asp results?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

6 Posts

Posted - December 01 2004 :  23:25:13  Show Profile  Reply with Quote
Is there and easy way to sort the results that come back from a shopquery.asp query?

E.g. <a href="shopquery.asp?cprice=50&cname=shirt">Display stuff</a>
Can I sort by cname? or some other field?

I am trying to display new or items with the highest ID first.


- John
[email protected]

Starting Member

6 Posts

Posted - December 02 2004 :  21:21:12  Show Profile  Reply with Quote
This is the reply I got from support - works good!

Also from another post, you can change sort to desc by appending desc after field name in xsortproducts.

The xsortproducts configuration variable determines what fields products get sorted by.

xsortproducts sorts products for both the normal shopdisplayproduct.asp, shopsearch.asp and shopquery.asp displays.

There is no inbuilt functionality to change the sort order just for the shopquery.asp page, this would require a customization to implement.

Radek Rekas
VP-ASP Support

Go to Top of Page

VP-ASP New User

72 Posts

Posted - December 03 2004 :  05:49:38  Show Profile  Visit eabrams's Homepage  Reply with Quote
We use the same idea. We take all of our products and give them a sort ID. For instance the books by one author start with AA then an number (AA00023) and so on.

We use one of the pother fields the sort field.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000