Display sorting options dropdown when using WooCommerce product category shortcode

Since WooCommerce 3.2, Woocommerce shortcodes and their available attributes have changed.

So try the following shortcode instead (for “foo” product category):

[product_category limit="90" columns="3" category="foo" paginate="true"]

or inside php code:

echo do_shortcode( '[product_category limit="90" columns="3" category="foo" paginate="true"]' );

Now you will see that the sorting options dropdown appear.

Note: orderby argument with an empty value has no effect. order argument is ASC by default.

Leave a Comment