News:

Looking for documentation? Take a look on our wiki

Main Menu

Product sorting in category

Started by webmanwebdesign, February 21, 2024, 11:30:22 AM

Previous topic - Next topic

webmanwebdesign

Hi there,

In the "new" Admin Template you cannot sort the products of a category.
You can choose the category in the product list and then there is also the little icon with the arrows.
But you cannot drag and drop the products. So now I have to put the numbers into the field which is really annoying when there are a lot of products in the category.

This bug affects all VM versions with the new Admin template. If I switch back to the old template, the drag and drop sorting works again.

Kind regards
Tanja

AH

Regards
A

Joomla 4.4.5
php 8.1

cdbaron88

Same issue.
VM 4.2.10 11010
Joomla 3.10.12

Drag and drop functionality and arrow keys to reorder products are not working.
There are no JavaScript errors in the browser console.

With Firefox, I can see a hand cursor when hovering over to drag.
With Chromium (based on Chrome), there is no drag icon or change in cursor.



AH

This should be fixed in the next release - but if you want to fix it now

Go to administrator/templates/vmadmin/html/com_virtuemart/product/default.php

Find this:

if ($this->showDrag) { ?>
                                        <div class="uk-sortable-handle"><span class="" uk-icon="icon: move; ratio: 0.75"></span></div>

Replace with this:-


if ($this->showDrag) { ?>
                                       <div><span class="vmicon-16-move" uk-icon="icon: move; ratio: 0.75"></span></div>

Regards
A

Joomla 4.4.5
php 8.1