0
Welcome Guest! Login
0 items Join Now

https url being generated. http required

  • https url being generated. http required

    Posted 13 years 10 months ago
    • I've set the Virtuemart to force SSL on the checkout page only.
      Site URL: www.bdlbooks.com/
      Seure URL: www.bdlbooks.com/
      I've also ticked the Generally prevent https connections.

      Everything seems to be working fine except for the following.
      When I start checking out and the system switches (correctly) to ssl, the link created by the rokvirtuemart module for the categories are using https://

      I would like these to be http:// so that if the user clicks on any of these he/she is reverted to the non-ssl section.

      rokvirtuemart is using this to generate its links:
      $link = $sess->url('index.php?option=com_virtuemart&page=shop.browse&category_id=' . $category_id . $item_id);
      I've also tried this and got the same results:
      $link = JRoute::_('index.php?option=com_virtuemart&page=shop.browse&category_id=' . $category_id . $item_id);

      Any help much appreciated. Website is live.

      Thanks
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: https url being generated. http required

    Posted 13 years 10 months ago
    • Hi, I haven't worked with Virtuemart in awhile, but I believe that all of those settings come from Virtuemart, not any module. Are you using the scroller module? If so, that shouldn't make any difference, the urls are relative, the secure settings come from VM.

      If I remember correctly, there are only a few different ways to set that in VM and there may not be an easy way to do what you are after. Either way you should be looking at the VM files, not your module files.
    • The difficult we do immediately, the impossible takes a little longer.

Time to create page: 0.067 seconds