I’ve created a WooCommerce Archive layout which loops through all my products. In the corner of each product, I’d like to loop through the categories for each product, for given categories, so that certain items will show with the category in the top right hand corner, like this exampe, which shows items with the Uniform category:
I’d like to use a provider to grab all of the categories for each individual product, and use the conditions to decide which ones to show – I have a product overlay DIV element which will loop through each category and show a category DIV, like so:
My question: what looper provider do I need to use, and how do I set it up to get the list of categories within each product?
Many thanks for your help.