Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

"if" "then" command for ssl pages


Recommended Posts

I am having an issue with my live chat tracking software throwing security errors on my https pages and was wondering if any one knew of the "if then" command for php. In html I used this but I dont know the php version.


<ss:if test="$request.getScheme() == 'https'">


--secure code--




--unsecure code---




Any help would be apperciated.

Link to comment
Share on other sites



Look through some of the existing store php files for the format. or a PHP tutorial, But if, else, and elseif are used in php.



Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Link to comment
Share on other sites

Example code here

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.


"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -


"Headers already sent" - The definitive help


"Cannot redeclare ..." - How to find/fix it


SSL Implementation Help


Like this post? "Like" it again over there >

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...