+ Reply to Thread
Results 1 to 7 of 7

Thread: SSL implementation

  1. #1
    Member dmm2020's Avatar
    Join Date
    Apr 2010
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default SSL implementation

    I can't find instructions on SSL implementation.

    I want to enable SSL and set links so that when customer info is taken, SSL is automatically enabled. What are the steps for that?

    I have an EV-SSL seal to display in the footer, basically floats over the footer with javascript. How do I do that with oscCart?

  2. #2
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    176
    Thanks
    2
    Thanked 13 Times in 12 Posts

    Default

    Hi,

    In your shop/includes/configure.php

    Change:

    Code:
      define('ENABLE_SSL', false);
    To:

    Code:
      define('ENABLE_SSL', true);

  3. #3
    Member dmm2020's Avatar
    Join Date
    Apr 2010
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Then how/where do I place the javascript for the seal that floats on the footer? I want it to show if SSL enabled, so could use the script for that. I would like to see it floated on the cart footer not the vBulletin footer.

    Thanks in advance. It floats at bottom right of footer over everything else.

  4. #4
    Member dmm2020's Avatar
    Join Date
    Apr 2010
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry if this gets double posted, but when I went back to check, my other question was not there.

    I got a SSL seal to display over the right corner of the footer, and I would prefer it display over the cart footer rather than vBulletin's footer. It uses javascript to generate the image dynamically and float it.

    Where do I place the javascript and how do I wrap it so that it displays only on SSL enabled pages?

  5. #5
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    176
    Thanks
    2
    Thanked 13 Times in 12 Posts

    Default

    Hi,

    If you add it to the shop/includes/footer.php, it should show up in the shop footer.

    For the code to only show on SSL pages, you will need to do something like this:

    Code:
     
    <?php
    if ($request_type == 'SSL') {
     
    # Your Code here
     
    }
    ?>

  6. #6
    Member dmm2020's Avatar
    Join Date
    Apr 2010
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Greystoke View Post
    Hi,

    If you add it to the shop/includes/footer.php, it should show up in the shop footer.

    For the code to only show on SSL pages, you will need to do something like this:

    Code:
     
    <?php
    if ($request_type == 'SSL') {
     
    # Your Code here
     
    }
    ?>
    OK thanks on this, but something else,

    My SSL is only for my main domain, so I have to run ssl like this:

    https://dmsoft-wy.com/dmsinteractiveweb/

    How do I edit the paths in the config file to account for this?

  7. #7
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    176
    Thanks
    2
    Thanked 13 Times in 12 Posts

    Default

    PM sent for more detailed info.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts