Announcement

Collapse
No announcement yet.

Unsecure Items on Cart Pages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unsecure Items on Cart Pages

    Hi,

    Maybe someone can give me a glimmer of light here.

    I'm trying to integrate a LiveHelp facility within an Actinic Catalog (v3) site. All is well until it reaches any of the Cashier/Cart pages. I know why, I just don't know how to get around it.

    For the LiveHelp to function I have to place the following code in the HEAD section (I've used Act_Primary.html template):

    <script language="JavaScript" src="/phplivehelper/javascript.php?html=1"></script>

    And then within the BODY section (of Act_ProductBody.html) I place a further link that references some of functions provided in the line I described above.

    This all works fine with the product pages, I get the livehelp functionality etc. Now when it comes to the Cashier/Cart pages (which use the https:// prefix) my browser throws up an "Insecure items" warning message. That's because (I assume) that the JavaScript link to javascript.php is not prefixed by https:// - The site is (successfully) using its own SSL certificate. If I manually code the prefix in, then its going to be incorrect when using outside the SSL pages (i.e. the product pages).

    Is there a way of saying "I want this code in the HEAD section when, and only when, it's a product page and not for the cart pages"?

    It's been suggested that I could write a script to determine if you are in the cgibin folder, and if so not to write the script out. But I'm not entirely sure if this should be written in JavaScript etc.

    Any help greatly appreciated.

    Mark.
Working...
X