Show the parent taxonomy by creating shortcode in woocommerce?

The Shortcode to display products in “Fruits” category when user is on another page or archive… is:

[products category="fruits"]

As far as I know there is no shortcode to display the parent category products without specifying the given category slug.

For your 2nd example you will have to call it in your sub category “Pork”

[products category="meat"]

and so on for each category.

You can find WooCommerce shortcodes here:

https://docs.woocommerce.com/document/woocommerce-shortcodes/

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)