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-ASP Shopping Cart Customer Forum

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

 All Forums
 VPCart Forum
 VP-ASP 6.00 Questions
 Cateory sort in V6.08+
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tamara
Starting Member

6 Posts

Posted - February 28 2007 :  21:18:07  Show Profile  Reply with Quote
Our site is VP-ASP Plus 6.09. I would like the categories list to sort by alpha but it is sorting by categoryid (numericly). I've looked at the field xsortcategories and it is set to catdescription. I've looked at the code in shopproductsubs.asp for NavigateShowCategories() and it has
'VP-ASP 6.08 - Order by config option rather than hardcoded
catSQL=catsql & " order by " & getconfig("xsortcategories")
' catSQL-catsql & " order by catdescription"

for NavigateShowCategoriesStyled() both catSQL lines are commented out.
'VP-ASP 6.08 - Order by config option rather than hardcoded
'catSQL=catsql & " order by " & getconfig("xsortcategories")
' catSQL-catsql & " order by catdescription"

When the ' is removed from the xsortcategories line the Category List nav menu then sorts by alpha using catdescription.
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000