Author Topic: Missing ordering option in mod_virtuemart_category  (Read 107 times)

welrachid

  • Jr. Member
  • **
  • Posts: 185
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
Missing ordering option in mod_virtuemart_category
« 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 :(
Best regards,
Wel

welrachid

  • Jr. Member
  • **
  • Posts: 185
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
Re: Missing ordering option in mod_virtuemart_category
« Reply #1 on: December 06, 2017, 13:00:14 pm »
anyone?
Best regards,
Wel