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 Ordering Bug?

Started by Agaton, August 05, 2020, 14:22:46 PM

Previous topic - Next topic

Agaton

Hi,

After update to 3.8.x I am experiencing category ordering issues on all my vm sites.

Currently I use 3.8.4.10335 on Joomla 3.9.20.

The issue is as follows:

1. Ajax drag and drop doesn't save, when I use drag and drop then save it will reverts to original order and ignores changes.

2. Ajax drag and drop does not appear when viewing parent categories, it only appears at lowest child level. (is that intended?). For Example: If we have 'Parent category -> Child category level one -> child category level two' ..... the ajax ordering option will only appears at "child category level two"

3. Ordering numbers appearing in increments of 5. So if I have 10 child categories they will appear as 5, 10, 15, 20 and so on to 50. This can be very confusing when looking at large category lists. (Is this intended ?)

4. Finally, when using ajax drag and drop all the numbering then changes to 1,2,3 etc from 5,10,15. Example, 5 child categories at lowest level show, 5, 10, 15 , 20, 25 .... if i change the order using drag and drop the numbers change to 0,1,2,3,4... When I save the ordering it will not save as I changed it.

The only thing that seems to work are the arrows.

I noticed in the news for 3.8 and covid support it references a fix to moving/ordering of categories. Has something been missed or am I missing an new setting. I have deselected google jquery (deprecated) as suggested above.

What I have already tested/done...

Cleared cache at server level, cleared cache at local level, tested on other websites with no additional plugins, tested on other admin templates, tested on default site templates (just in case).

Am I missing something or is this a bug.

FYI: Product order settings works perfectly. Using ajax drag and drop and displays order numbers 0,1,2,3 etc.

Many Thanks

update ----

Just tested on php 7.1, 7.2, 7.3, 7.4 and issue remains
Reinstalled vm 3.8.4.10335 files... no change
Forgot to mention, I use default admin and don't use admin plugins

Jörgen

Please do not cross post

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Agaton

#2
Not cross posting... I was advised by a forum message, when I posted this yesterday in an old post, to create a new one as the other was older than 120 days.

I decided to see if this got a reply before I created the new post. Rather than reprimand me for doing what I am told to do maybe you have a suggestion!!!

jenkinhill

The warning is generated by the forum software. The logic is that you are looking at an old thread which almost certainly will be for earlier VM versions, so the thread content may not be relevant to your current problem.

Actually, if you search the forum for category ordering you will find some recent discussions about this, although I'm not sure if they will help.
e.g.  http://forum.virtuemart.net/index.php?topic=145250
or
http://forum.virtuemart.net/index.php?topic=145139
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

Agaton

Thanks Jenkinhill, i'll take a look at those

Studio 42

I dont have a real solution for you but Vm Be Pro have a drag ad drop system since last release to move categories and you can even move categories from one to another and of course you can reorder the categories (and you can move / copy and reorder products in the categories ) all this using ajax.
See https://shop.st42.fr/en/products/vm-be-pro-batch-product-edit.htm