If [-- VAR.somename PAGE.field --] is listed as a global tag, why do I
get an error when using it in a product template? "Template Error:
Page tag not allowed"
I thought global tags were allowed in all templates.
Thanks.
Ken
If [-- VAR.somename PAGE.field --] is listed as a global tag, why do I
get an error when using it in a product template? "Template Error:
Page tag not allowed"
I thought global tags were allowed in all templates.
Thanks.
Ken
You need to define the VAR in the Page template since that is the only
place the PAGE.field is valid. You can then use the VAR in the product
template.
So in the page template you would have
[-- VAR.somename PAGE.field --]
and in the product template you would use that VAR like so
[-- VAR.somename --]
or if you are doing a conditional statement
[-- IF VAR.somename somevalue --]
Users browsing this forum: No registered users and 30 guests