News:

Support the VirtueMart project and become a member

Main Menu

How to change the sort order for one single category

Started by ttanidis, November 14, 2022, 10:38:25 AM

Previous topic - Next topic

ttanidis

Hello,


In Joomla 3.10.11, PHP 7.4.33 and VM 4.0.6 I want to ask a question about product sorting.


I want to change the sort order for one single category not for all categories (Configuration - Product Sorting and Search Settings - Default product sort order).



As far as I know VM does not have this feature.


Does anyone know if there is a plugin?


Thanks.

pinochico

create override template for category view
find code for sorting - maybe core function?
add hack - condition for your catgory ID
add hack - change sorting

Or create VM custom plugin and put override model or function there, with category ID from plugin setup
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products