Welcome, Guest ( Customer Panel | Login )




 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  

thomasBaine
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?

Thanks/Bruce

thomasBaine
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
0 Item(s)
$0.00