Hi OnPoint Plugins
I would like to sort WooCommerce product categories by a custom order. The best thing would be to sort them with drag and drop like they can be sorted on the WooCommerce categories page in the backend. But in the advanced sidebar widget (classic, not the block) I only have the options name, date, count, slug and ASC / DES. Is there a way to overwrite this and set another sort order?
Thanks
OnPoint Plugins
Hi Rico,
You may use the drag and drop order or WooCommerce Categories by adding the following filter to your active theme’s functions.php file.
With the filter in place, you will still be able to control the “ORDER” option in the widget, but the “ORDER BY” will be ignored.
Have a great day!
Rico Suter
Thank you very much! And thank you for the fast response.
Have a great day too!