Hi there,
I’ve been trawling through lots of posts to find a solution for my problem, but can’t see one that’s relevant. I have developed a layout for a woocommerce product. In this I would like to use a looper and output my own styled Related Products. I have set up a provider on a row using this query string.
category_name={{dc:term:name}}&post_type=product&posts_per_page=3&offset=0&ignore_sticky_posts=1&post__not_in%5B0%5D={{dc:post:id}}
This should provide 3 related products, excluding the current product being viewed. When I set up a consumer for the column however, it seems the dynamic content {{dc:term:name}} is empty, so it returns 3 products of any category. I can’t work out why {{dc:term:name}} is not returning a value. Each product will have more than 1 category, they will generally have 1 parent category and 1 or more other categories. How do I ensure that I can access and am using the lowest level category that applies to a product please?
I will attach login details etc.