I am going round in circles trying to sort out this seemingly simple bit of code - please can anyone help.
I am following the instructions below from page 61 of the advanced users guide, and trying to hide text in the primary template from retail customers and show it to logged in customers. The instructions say....
Place the following tags before the code:
<Actinic:NOTINB2B><!--</Actinic:NOTINB2B>
…and put these after the code:
<Actinic:NOTINB2B>--></Actinic:NOTINB2B>
This will mean that the HTML comment marks will only appear for unregistered customers, and hence the content will be hidden from them.
So I have tried
<h1> <Actinic:NOTINB2B>Wholesale </Actinic:NOTINB2B> <font color="#8D0017">Gifts and Giftware</font></h1>
which does exactly the opposite of what I hoped it would do. It hides the word Wholesale from the logged in customer and shows it to the retail customer
and I have tried
<Actinic:NOTINB2B><!--</Actinic:NOTINB2B>Wholesale <Actinic:NOTINB2B>--></Actinic:NOTINB2B>
which hides the word Wholesale from everyone.
Please can someone tell me what I am doing wrong?
Cheers, Jane
I am following the instructions below from page 61 of the advanced users guide, and trying to hide text in the primary template from retail customers and show it to logged in customers. The instructions say....
Place the following tags before the code:
<Actinic:NOTINB2B><!--</Actinic:NOTINB2B>
…and put these after the code:
<Actinic:NOTINB2B>--></Actinic:NOTINB2B>
This will mean that the HTML comment marks will only appear for unregistered customers, and hence the content will be hidden from them.
So I have tried
<h1> <Actinic:NOTINB2B>Wholesale </Actinic:NOTINB2B> <font color="#8D0017">Gifts and Giftware</font></h1>
which does exactly the opposite of what I hoped it would do. It hides the word Wholesale from the logged in customer and shows it to the retail customer
and I have tried
<Actinic:NOTINB2B><!--</Actinic:NOTINB2B>Wholesale <Actinic:NOTINB2B>--></Actinic:NOTINB2B>
which hides the word Wholesale from everyone.
Please can someone tell me what I am doing wrong?
Cheers, Jane
Comment