I have a question. How do I display products of 2 categories on a page with woocommerce, as if it were a filter? I tried to create the page with the shortcode of the plugin, but it did not work:
[product_categories number="20,17" parent="0"]
I have a question. How do I display products of 2 categories on a page with woocommerce, as if it were a filter? I tried to create the page with the shortcode of the plugin, but it did not work:
[product_categories number="20,17" parent="0"]
The shortcode is wrong. The number specifies the quantity of products. For caetgorias you should use "ids":
[product_categories number="12" parent="0" ids="20,17"]
If you want to show all top-level categories:
[product_categories number="12" parent="0"]