| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Need a IF statement for HTTPS | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Need a IF statement for HTTPS
hi
could someone provide me with an if statement which excludes something, when the shop is called over https? i would like to include a live chat button. everytime my shop changes from http to https, i get this terrible error message in my browser, that this site isn't secure (Because of the http:// image loading) i don't wanna buy an extra ssl certificate for my live chat domain, so i would like to exclude the button completely once the shop uses the https server. what if statement do i have to wrap around my code, to "remove" it? thanks in advance
__________________
X-Cart Gold Version 3.5.14 (Live) X-Cart Gold Version 4.1.10 (in dev) Modification for 4.1.10 Run with 1 License, 1 Database up to 5 Shops with different domains, config, categories and more. click here for informations |
|||||||
#2
|
|||||||
|
|||||||
Re: Need a IF statement for HTTPS
{if $smarty.server.HTTPS ne "on"}
chat button {/if}
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
|
|||
X-Cart forums © 2001-2020
|