News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Category sort question

Started by Pejo, September 30, 2013, 02:12:08 AM

Previous topic - Next topic

Pejo

Hello,

I have Joomla 2.5.14 and VM 2.0.6

Is it possible to sort some of categories, but rest of them to leave by default?

For example:
I have 20 categories, but 5 of them are accessible directly from main menu (other 15 are sub-categories for this main 5).
This 5 main categories I would like to sort to show products from date added (last product added to be shown first), but rest of 15 sub-categories to be sort by default (sort as is now, sort by name).

Is this possible and if it is not, is there any kind of extra extension?

Thanks in advance. ;)

Maxim Pishnyak

Quote from: Pejo on September 30, 2013, 02:12:08 AM
Is this possible and if it is not, is there any kind of extra extension?
Responsible file administrator\components\com_virtuemart\models\product.php. Function getOrderByList in it. You could arrange your changes as separate extension by instructions given here http://docs.virtuemart.net/tutorials/34-development/84-extension-plugins.html
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart