Product categorijes widget custom order
-
Hello,
I’m having issues with the WooCommerce Product Categories widget.
I’m trying to make a custom order of the Product categories but every time I change the Order by nothing happens, the widget just orders them alphabetically. I’ve tried to add the Categories with my custom order and I also changed the order under WooCommerce-Products-Categories by drag and dropping them in the order I need.I found this line of code under the wp-content/plugins/woocommerce/includes/widgets/class-wc-widget-product-categories.php
do I have to change something in this .php file?CODE:
'orderby' => array( 'type' => 'select', 'std' => 'name', 'label' => __( 'Order by', 'woocommerce' ), 'options' => array( 'order' => __( 'Category Order', 'woocommerce' ), 'name' => __( 'Name', 'woocommerce' ) ) ),
I’ve provided screenshots for this issue:
The widget on the site: https://ibb.co/eyTepv
The order under WooCommerce-Products-Categories: https://ibb.co/c2xuNF
The settings of the widget: https://ibb.co/mBLs9vThank you in advance and best regards!
- The topic ‘Product categorijes widget custom order’ is closed to new replies.