The intent of the code is to match the category and put up the appropriate header; it goes on the CTGY page.
This code throws this error:
Error compiling template: Line 22: Expression compilation failed: Invalid Argument '&' Found in expression
Is there a better variable to put in? Does the text string need to have quotes around it? ( "Fortune Cookies Giant" )
What is the better way? Thank you.
This code throws this error:
Error compiling template: Line 22: Expression compilation failed: Invalid Argument '&' Found in expression
Is there a better variable to put in? Does the text string need to have quotes around it? ( "Fortune Cookies Giant" )
What is the better way? Thank you.
Code:
<div class="cookie-header"> <mvt:if expr="&mvte:category:name; EQ Fortune Cookies Giant"> <!-- Giant: --> <img class="title-cards" src="graphics/en-US/twg/bgheader_01.gif" alt="Fortune Cookies" /> <img class="title-cards" src="graphics/en-US/twg/header-giant.jpg" alt="Giant Fortune Cookies" /> <p>All of our Hand Made, Hand Dipped Giant Fortune Cookies are now 7 inches.<br> To Bookmark This Page Press (Ctrl + D)</p> <!-- Gift Bag: --> <img class="title-cards" src="graphics/en-US/twg/bheader_01.gif" alt="Gift Bags" /> <img class="title-cards" src="graphics/en-US/twg/header-gift.jpg" alt="Gift Bag" /> <p>Add a custom message<br> to your gift bag's window!<br> <br> To Bookmark This Page Press (Ctrl + D)</p> <mvt:else> <h1>Decorated</h1> </mvt:if> </div>
Comment