Here is a snippet of code from a our custom product template. If I look at
the generated source, the <br><i><i> tags always appear if there is a
product description or not. Am I wrong in thinking that the HTML tags are
part of the IF statement. In otherwords would they only take affect or be
generated if the IF statement TRUE branch is taken, or are they always
present regardless if coded this way? What I'm thinking is the IF statement
for the product description is working but I'd have to place everything
between the IF and END_IF in an INCLUDE to make it work properly.
# Product there's a more information page. This should be a one line
description.
[-- IF PRODUCT.DisplayMoreInformationPage--]
[-- IF PRODUCT.ProductDescription --]
<br><i>
[-- PRODUCT.DescriptionSize Begin --][-- PRODUCT.DescriptionStyle
Begin --]
[-- PRODUCT.ProductDescription --]
[-- PRODUCT.DescriptionStyle End --][-- PRODUCT.DescriptionSize
End --]
</i>
[-- END_IF --]
[-- END_IF --]
Thanks
Vince@ahoycaptain.com