Author Topic: VirtueMart Category Module - minor ordering issue after 3.0.6 upgrade  (Read 8866 times)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10273
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Mentalhacker

  • Beginner
  • *
  • Posts: 7
  • A beginner
  • Skype Name: logoswarrior
Unfortunately, the ordering problem returned.

In VM 3.2.14, changing the category ordering in the config does not have any effect on the Virtuemart Category Module. This module always shows the category names in alphabetical order, no matter what is set in the config.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28314
  • Always on vacation
    • Jenkin Hill Internet
I have 3.2.15 and the module display order of categories is as set in the Ordering column on the category list.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

Mentalhacker

  • Beginner
  • *
  • Posts: 7
  • A beginner
  • Skype Name: logoswarrior
Sorry, meanwhile I figured out that it was not a VM setting problem but a VMuikit default setting (category alphabet). The config works fine.

sandomatyas

  • Jr. Member
  • **
  • Posts: 365
Re: VirtueMart Category Module - minor ordering issue after 3.0.6 upgrade
« Reply #19 on: September 18, 2020, 08:05:48 am »
In VirtueMart 3.8.4 10335 the code is:
VirtueMartModelCategory::rekurseCategories($vendorId, $category_id, $categories, $level, 0, 0,true, '', 'c.ordering, category_name', 'ASC', true);

Does it mean the ordering is fixed to c.ordering?

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1464
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: VirtueMart Category Module - minor ordering issue after 3.0.6 upgrade
« Reply #20 on: September 18, 2020, 10:32:15 am »
Quote
Does it mean the ordering is fixed to c.ordering?

Go to PHPMYADMIN and look self. I think yes
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

sandomatyas

  • Jr. Member
  • **
  • Posts: 365
Re: VirtueMart Category Module - minor ordering issue after 3.0.6 upgrade
« Reply #21 on: September 18, 2020, 12:50:47 pm »
Shouldn't it use the global settings?