How would I create a shortcode to show the parent taxonomy in woocommerce?
My product categories should be like:
- Food
-- Fruits
--- Healthy Fruits
--- Organic Fruits
-- Meat
--- Pork
--- Lamb
--- Beef
For example, I would like to display the taxonomy name "Fruits" in somewhere when user at the "Healthy Fruits" product archive page.