Hi. I have added on my site a coupon zone with Shopping Cart Coupon Field layout. I would like this zone to appear only when I enabled discount in Actinic. So I need a test : when discount is enabled in Marketing / Discount / Cart Content, this zone must appear. If it is disabled, this zone must not appear. I have added this test, but the zone never appears !
<actinic:block if="%3cactinic%3avariable%20name%3d%22AllowCoupon%22%20%2f%3e" >
<TABLE BORDER="1" WIDTH="553" CELLSPACING="2" CELLPADDING="2">
<TD BGCOLOR="<actinic:variable name="CheckoutEM" />" WIDTH="400" height="30"> <FONT FACE="Arial, Helvetica, sans-serif" SIZE="1">
<actinic:variable formatting="font(Size|12|Color|808080)" name="CouponCaption" />
</TD>
<TD BGCOLOR="<actinic:variable name="CheckoutBG" />" WIDTH="150"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="1"></FONT>
<input type="text" name="COUPONCODE" size="25" maxlength="20" value="<actinic:variable name="CouponCode" />" />
</TD></TABLE>
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22AllowCoupon%22%20%2f%3e" >
<TABLE BORDER="1" WIDTH="553" CELLSPACING="2" CELLPADDING="2">
<TD BGCOLOR="<actinic:variable name="CheckoutEM" />" WIDTH="400" height="30"> <FONT FACE="Arial, Helvetica, sans-serif" SIZE="1">
<actinic:variable formatting="font(Size|12|Color|808080)" name="CouponCaption" />
</TD>
<TD BGCOLOR="<actinic:variable name="CheckoutBG" />" WIDTH="150"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="1"></FONT>
<input type="text" name="COUPONCODE" size="25" maxlength="20" value="<actinic:variable name="CouponCode" />" />
</TD></TABLE>
</actinic:block>