| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Conditional display based on HTTPS | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I have some javascript code that pulls in a weather feed and when the visitor goes to check out via HTTPS, they get that secure/nonsecure warning. I want to put an IF statement in the template that says if HTTPS, do not display the weather feed. Seems simple, but I do not know the syntax.
Any help?
__________________
-Ken X-Cart User / Developer Since April 2003 (Varying versions, multiple client sites, 3.x through 4.4.x) www.pointbweb.com |
|||||||||
#2
|
|||||||
|
|||||||
![]() {if $smarty.get.mode ne "checkout"}
java code here {/if} should do it
__________________
ex x-cart guru ![]() |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Code:
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|