Zen Cart Logo
Forums / General Questions / How can I control which sideboxes are displayed on the SSL Checkout Pages?

How can I control which sideboxes are displayed on the SSL Checkout Pages?

Locked

Views: 1,128

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
5 Feb 2007, 2:33 PM
#1
nresults avatar

nresults

New Zenner

Join Date:
Sep 2006
Posts:
14
Plugin Contributions:
0

How can I control which sideboxes are displayed on the SSL Checkout Pages?

I have a sidbox that uses some custom programming that links to a server outside my domain. The problem is that when a customer logs in or checks out this custom sidebox causes the SSL warning message to appear, warning of unsecure content.

How can I hide, or control which side boxes appear on the secure pages within my site?

Any help would be appreciated.

5 Feb 2007, 2:49 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How can I control which sideboxes are displayed on the SSL Checkout Pages?

You could see if $request_type works for you ...

This will change from NONSSL to SSL depending on the secure/non-secure state ...

6 Feb 2007, 3:01 AM
#3
nresults avatar

nresults

New Zenner

Join Date:
Sep 2006
Posts:
14
Plugin Contributions:
0

Re: How can I control which sideboxes are displayed on the SSL Checkout Pages?

Thanks Ajeh,

Thank you for your prompt response.

I was able to locate a solution from another PHP programmer earlier today. He had me prepend the existing sidebox code with the following string.

$urlScheme = parse_url($url, PHP_URL_SCHEME); if($urlScheme != 'https'){

It worked great. The Sidebox linking to the custom application is now disabled on all my SSL pages.

Thanks anyway for your help. It is much appreciated.