Hi everyone,
I am trying to figure out the correct expression for wreitin an IF statement with regard to a category title image. Essentially I have some categories that have an image, and some that do not. For those that do not I would like the HTML that creates the image to be suppressed so I want to wrap in an IF statement. But I am not certain of the proper syntax. Here is what I have:
<mvt:if expr="NOT ISNULL mvt:category_title:image;">
<div class="cart_bio_img">
<img src="&mvt:category_title:image;">
</div>
</mvt:if>
Thank you,
Kevin
I am trying to figure out the correct expression for wreitin an IF statement with regard to a category title image. Essentially I have some categories that have an image, and some that do not. For those that do not I would like the HTML that creates the image to be suppressed so I want to wrap in an IF statement. But I am not certain of the proper syntax. Here is what I have:
<mvt:if expr="NOT ISNULL mvt:category_title:image;">
<div class="cart_bio_img">
<img src="&mvt:category_title:image;">
</div>
</mvt:if>
Thank you,
Kevin
Comment