Forum Support

Advanced Search


Offline mikek
Free Member
Posts: 28743 WWW
Posted on: October 14, 2008, 12:30:54 PM

By default Virtuemart will sort your categories by the order they appear in the backend of Virtuemart. However, with this hack you can change that so they will automatically show alphabetically. This can be extremely useful for your clients to find their category much faster.

Note - This is a hack to the core files of Virtuemart and will over-write your ability to manually change the order of categories in the backend of Virtuemart.
Note - This is not included in our site shapers.

Edit the following file:


Open the file in a text editor and do a find replace for:

$q .= "ORDER BY #__{vm}_category.list_order, #__{vm}_category.category_name ASC";

and replace it with:

$q .= "ORDER BY #__{vm}_category.category_name ASC";


Jump to:  

Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by
Page created in 0.015 seconds with 22 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.