AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: flyn on August 13, 2014, 06:08:20 PM

Title: Info regarding HTTPS to HTTP
Post by: flyn on August 13, 2014, 06:08:20 PM
I have read a few threads here regarding this issue as it has affected me and I tried a few things but no solution. Im hoping someone can provide some info that will clarify.

We have SSL installed on our site and it works. People can order and it is secure.

The problem is the following. I go to the check out phase or account page and I get to HTTPS and the page is secure. When I leave and go to another page say a category it stays on HTTPS and there are errors.

Why does it not leave HTTPS and go to HTTP? It does work only on the home page for some reason but any other page it stays HTTPS the whole time and that is not good. It should only be HTTPS on the checkout and login/account pages and that is all.

Please chime in with thoughts and ideas.

Thank You

Title: Re: Info regarding HTTPS to HTTP
Post by: abantecart on August 13, 2014, 09:39:43 PM
You are correct. Catalog pages are not required to be on SSL. This depends on your settings.
Make sure you have http and hpps configures correctly

Please share a link there HTTP does not change
Title: Re: Info regarding HTTPS to HTTP
Post by: flyn on August 14, 2014, 06:07:23 AM
Sure. Please go to www.hygienics.com.

Go to any product and add to cart. Then start the checkout process to get https in the address bar. Next dont go thru the whole checkout instead click on a category like Mens Underwear and you will see that instead of going back to http it stays at https and that is not needed.

The system should be able to switch between the two when it is needed
Title: Re: Info regarding HTTPS to HTTP
Post by: abantecart on August 16, 2014, 12:58:52 PM
In file:
https://github.com/abantecart/abantecart-src/blob/9ed5de9676128344f536eb628c50b54c4b49733d/public_html/storefront/controller/common/menu.php

Try to replace
Code: [Select]
$this->html->getURLwith
Code: [Select]
$this->html->getCatalogURLor even better
Code: [Select]
$this->html->getSEOURL
Title: Re: Info regarding HTTPS to HTTP
Post by: flyn on August 18, 2014, 08:23:27 AM
I made the change but still the problem occurs. I just dont know why if you leave the secure pages like checkout to a non-secure page like a product it does not switch from secure mode to non-secure.
Title: Re: Info regarding HTTPS to HTTP
Post by: flyn on August 25, 2014, 02:44:55 PM
Any other info regarding this issue? Did I enter something wrong in the admin?

The home page does work correctly. I start the checkout process and get to HTTPS. If I decide I want to continue looking at products if I go to the homepage it changes back to HTTP. If I go to another product or category page it does not change to HTTP.

It is frustrating