VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: welrachid on November 30, 2017, 13:30:56 PM

Title: Missing ordering option in mod_virtuemart_category
Post by: welrachid on November 30, 2017, 13:30:56 PM
There is no way of setting an ordering of the categories showed in mod_category
expected place: configuration -> templates -> Shopfront
In code:

modules/mod_virtuemart_category/mod_virtuemart_category.php:40

$categories = $categoryModel->getChildCategoryList($vendorId, $category_id);

changed to

$categories = $categoryModel->getChildCategoryList($vendorId, $category_id,'c.ordering');


So right now i have to make a hack to order things the way i want. Template override is not enough :(
Title: Re: Missing ordering option in mod_virtuemart_category
Post by: welrachid on December 06, 2017, 13:00:14 PM
anyone?
Title: Re: Missing ordering option in mod_virtuemart_category
Post by: welrachid on December 13, 2017, 14:00:56 PM
Nobody?
So whats up guys. should i make a hack in the current module, or should i make my own module? i just dont want maintain it afterwards.