I am trying to write a condition for a New "CanonicalTag" layout which is inserted into the head of the Extended Info Layout.
The New CanonicalTag Variable within the layout is set up as a filename field in the Extended Info Panel of Actinic, empty by default.
I only want the layout to come into effect if the product is a duplicate, in which case the page filename of the original product will be placed into the CanonicalTag Filename field, but I am uncertain if the condition I have writter is correct.
The Condition is set up as "IsCanonicalTagUsed" and looks like this:
<actinic:variable name="CanonicalPage" /> == ""
I know this might be pretty basic stuff for most coders out there but I would really appreciate some guidance just by confirming that this is correct, or if not, what the correct code should be?
The New CanonicalTag Variable within the layout is set up as a filename field in the Extended Info Panel of Actinic, empty by default.
I only want the layout to come into effect if the product is a duplicate, in which case the page filename of the original product will be placed into the CanonicalTag Filename field, but I am uncertain if the condition I have writter is correct.
The Condition is set up as "IsCanonicalTagUsed" and looks like this:
<actinic:variable name="CanonicalPage" /> == ""
I know this might be pretty basic stuff for most coders out there but I would really appreciate some guidance just by confirming that this is correct, or if not, what the correct code should be?
Comment