I am trying to do the same thing with Litecommerce so I can stop Google Adsense from appearing in my https:/ pages. The actual "If" statement for Litecommerce is fine but I am stuck on the translation of
$smarty.server.HTTPS ne "on"
into Litecommerce. I just can't get. Appreciate any help you might be able to offer.
Quote:
Originally Posted by hooter
Hello,
This is what you would use:
Code:
{if $smarty.server.HTTPS ne "on"}
http code here
{else}
https code here
{/if}
|