The wordpress website in
display default sorting options dropdown when using WooCommerce sitebar area in
shop page
without use any wordpress plugin you can do add filter woocommerce
sorting dropdown list this below custom shortcode, WooCommerce Hooks is one approach to alter the default filters in WooCommerce shop page.
You may use custom fields or other widgets to sort and display your items in sidebar on wp page.
this WooCommerce
default sorting filters and add them to your WooCommerce product pages.
How to show woocommerce default filter sorting dropdown shortcode in shop page?
Always use child theme any wordpress website and copy below code and add this code in your
functions.php and woocommerce catalog ordering form wordpress sidebar in shop page.
Use this below custom product filter shortcode for woocommerce filter ordering in woocommerce sidebar shop page-
add_shortcode('wc_sorting','woocommerce_catalog_ordering');
And also this shortcode keep on widgets area for show
default sorting dropdown filter list on page.
[wc_sorting]
0 Comments