I'm currently using Toolkit to display SubCategories, and then using the CXPC function to display the subcategories products, all on CTGY. My question is, is there an updated way to do this without Toolkit?
This is what I've been trying to use:
I've tried a variation of different arrays, but can't seem to get any products to appear. Any suggestions? Is this possible?
Thanks,
This is what I've been trying to use:
Code:
<mvt:assign name="l.settings:subcat_count" value="miva_array_elements(l.settings:subcats)" /> <mvt:foreach iterator="sub_category" array="subcats"> <p class="semibold">&mvt:sub_category:name;</p> <mvt:foreach iterator="product" array="sub_category_listing:products"> <p class="bold prod-name"><a href="&mvte:product:link;">&mvte:product:name;</a></p> </mvt:foreach> </mvt:foreach>
Thanks,
Comment