I'm using 5.5 with Toolkit. I've tried many different functions, but can't get a conditional to display correctly on the PROD (product) page.
What I want to do is display link A if the category is A, but display link B if category does not equal A.
Obviously, more complicated than that. But, I want to display a link to women's size chart if the product does not equal the menswear category.
Any suggestions?
I've tried many variations to no avail:
What I want to do is display link A if the category is A, but display link B if category does not equal A.
Obviously, more complicated than that. But, I want to display a link to women's size chart if the product does not equal the menswear category.
Any suggestions?
I've tried many variations to no avail:
Code:
<mvt:item name="toolkit" param="childof|parentfound|g.Category_Code" />
<mvt:if expr="g.parentfound EQ 'menswear'">
<li><a href="images/howtomeasure_men.jpg" data-lightbox="image-1" title="For Him - How to Measure">How to Measure</a><br />
<mvt:else>
<li><a href="images/howtomeasure_women.jpg" data-lightbox="image-1" title="For Her - How to Measure">How to Measure</a><br />
</mvt:if>
Comment