VmSorting - improved sorting in virtuemart 3 virtuemart 3 and 2
VmSorting is a special plugin that completely changes the standard sorting type in Virtuemart 3 by adding an order change button (conveniently when sorting by price is in progress and you need to select a display from cheap to expensive and vice versa).
VmSorting - improved sorting in product virtuemart 3
A special plugin that completely changes the standard sorting view in Virtuemart 3 by adding a button to change the display order (conveniently when sorting by price is in progress and you need to select a display from cheap to expensive and vice versa). It works in 2 modes: a drop-down list and a string output.
In the settings you can select the sorting type: drop-down list or output to a string
As an example below, simply by activating the plugin, we see a sort change with the Select drop-down list:
And so it looks like if displayed as Block
Sorting by manufacturer is automatically hidden if there is only one manufacturer in the category.
Plugin tested on Joomla 3.9.5 + Virtuemart 3.4.2 based on PHP 7.2 with a protostar template and IT SmartShop. Since this is a universal solution, it can work on almost any template. To work properly in the template used, bootstrap must be connected. All button styles are inherited from it.
The solution of possible problems arising from some buyers.
If, when changing the sorting direction, the icon with the arrow itself does not change, then most likely in the menu item Virtuemart - Settings - Sorting Options for the Sort Order parameter, the default is Descending.
You can edit it in a different order, like Ascending. If such a conclusion is fundamentally important for you, then in the file /plugins/system/vmsorting/media/jquery.vmsorting.js in 2 places change
VM Sorting compatibility with CF Filter Module and its error.
If you use the CF Filter module on your site, then for correct sorting recorded by, we recommend that after updating the filter in the file general.js
path /modules/mod_cf_filtering/assets/ after wrong the following code