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
 General help me questions
 How to order "Product features" ?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP New User

108 Posts

Posted - February 21 2005 :  14:56:37  Show Profile  Reply with Quote

ther's a way to order the product features? I have create a dropdown list with these Feature Name: 1 month, 3 months, 6 months, 12 months.

In the dropdown the order is not as the one I show up, but:
1 month
12 months
3 months
6 months

Ther's a way to order the dropdown in a right way as this one?:
1 month
3 months
6 months
12 months


VP-ASP New User

137 Posts

Posted - February 21 2005 :  15:48:39  Show Profile  Visit bmw000's Homepage  Reply with Quote
I this same type of problem awhile back.

I think the best way to handle this is as follows.

First: change xfeaturesort to id

Second: As you add the records to the database, add them in the order you want them displayed. This way it orders them in the same order you added them to the database. It actually uses the product id field in the database to sort it.

Hope this helps.

Brian Weber
BMW Solutions, LLC
Go to Top of Page

Senior Member

United Kingdom
1898 Posts

Posted - February 21 2005 :  16:03:53  Show Profile  Visit devshb's Homepage  Reply with Quote
as per bmw's solution; yep; you should be able to use the config option:


you could also put an ordering value (use a left-padded text string rather than a number so that "2" does not come after "12", eg use a string like "000-001") into the featureother column and then set xfeaturesort to "featureother"

bmw's simpler solution would do the job in 99% of cases; whether or not you apply the detailed/involved solution in my posting would depend on how stringent you wanted to be and how much extra data you want to add, how often you want to change the values etc.

Simon Barnaby
[email protected]
Web Design, Online Marketing and VPASP addons

Edited by - devshb on February 21 2005 16:10:22
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000