Dynamic content Woocommerce

I’m using Pro for my store. The frontpage shows a list of products > featured image, price and title. Now I really like to add the category where the product blongs to. What can I use for this like: {{dc:category:permalink}}?

I was trying this in Layouts, WC archive. Thanks in advance, Mark

Hello Mark,

Thanks for writing to us.

To display the Product Category you need to follow these steps.

  1. Add the element Terms element
    Test-Page-Builder-Pro (33)
  2. Click on the List Items
    Test-Page-Builder-Pro (34)
  3. Set the Looper Provider as Current Posts Terms and Taxonomy as Product Categories


4. Edit the styling as per your design.

If it doesn’t work for you, please share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin level username and password

You can find the Secure Note button at the bottom of your posts

Thanks

Thanks Prakash, this worked out for me. Is there also a string or other way to display the availability for the product? Like ‘Out of stock’

Hey @Westervoort,

For the availability of the product and other things you want need to display in your WC Single, I have explained it on your other thread here:

Cheers.

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

Hey @Westervoort,

Shop Notices is not the same as Category Description. Shop Notices display messages like “added successfully to cart” and some error messages.

To display the Category Description use the Term Description Dynamic Content.

image

Hope that helps.