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
 VP-ASP 7.0 Questions
 Sort products by integer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

8 Posts

Posted - March 17 2010 :  18:10:02  Show Profile  Reply with Quote
Hi folks,
I'm developing a store for a large set of learning resources available for download as pdf files. Each resource is identified by a number eg. 497, 2399.

How can I get the products sorted by number?

At the moment, if I add these numbers into the ccode field, the cart sorts them as a text string, so that in ascending order I get 2399 and then 497.

I tried adding these numbers to the maximumquantity field, but that too appears to sort its contents as a string.

Any suggestions/existing functionality/workarounds?


Starting Member

8 Posts

Posted - March 17 2010 :  21:40:35  Show Profile  Reply with Quote
Sorry folks, I should have waited a bit longer for the grey cells to work before posting the query.

Solved the problem by entering the resource number in the ccode field in the form 00497 and 02399 and then sorting from that.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000