Welcome, Guest ( Customer Panel | Login )




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