Display Woocommerce Product Tags in Layout Template

I’m creating custom single Woocommerce layouts in Cornerstone and have figured everything out except for one thing - I need to display the tags that the product is in and can’t seem to find the correct dynamic tag to use.

I’ve used {{dc:term:name}} to display the category the product is in and that’s working fine, but I also want to display any tags it has applied to it.

I feel like it’s something simple I’m missing - any help you can give me is much appreciated!

Hello @mdsone,

Thanks for writing in!

You can use the Terms dynamic element in your WC Single Product layout to display product categories.

And then you will have to modify the Terms element by changing the Looper provider from using “All Terms”;

to use the “Current Post Terms” instead:

Hope this makes sense.

Oh wonderful - that worked like a charm! Thank you so much!
Cornerstone just keeps getting more and powerful every time I use it!

Hey @mdsone,

You are most welcome.
We are just thrilled that you really liked the new features of the theme.

Cheers.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.