4.1.2V Default Theme Menu Links Drive To Https

Hi everyone!
Some links from my drop down menu drive to https without our permission. This is not happen always. You have to navigate all the menu links one or more times and you 'll see that some links drive to https. Not always the same links. Not always with the same frequency. Some times you have to click more than 15-20 categories to see this issue. This is very mysterious.
In admin dashboard all the https relevant settings are off and not checked. We haven't enable https never. We haven't buy ssl certificate. And the site never had before similar problems.
Our hosting provider says that this is a platform problem and not related to the server because the generated links they see in source code are htpps and not http. The cs-cart support team says that is a hosting problem and they not admit that the problem occurs in the software.
Cs-cart support team suggest us to add this redirection code in htaccess
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

This is a patch solution to our problem. They don't tell us where it comes from the problem. We try to clear the cache from admin dashboard many many times. Also we rename the cache folder in cs-cart file system to rebuild the cache again from zero. But the problem still exists and nobody knows the reason of this issue.

Has someone something to suggest for this problem?

The website is http://dalisleather.gr








Hi everyone in the forum!

I reply to this topic with the answer, (the solution in this strange behavior of cs-cart 4.1.2 version) that was given from cs-cart support team:

Your store uses CS-Cart 4.1.2 version. The Keep HTTPS connection once a secure page is visited setting was removed in this version from admin panel but its was enabled by default. So when somebody opened a page of your store via HTTPS, all the other links in the store were changed to HTTPS ones. I reproduced this behavior on the local copy of your store by opening HTTPS link directly and clearing the cache in the admin panel. After that links in the top menu changed to HTTPS ones.
I should inform you that this setting was added back starting from 4.1.3 version. Anyway, I modified the app/functions/fn.control.php and app/addons/form_builder/controllers/frontend/pages.post.php files of your installation to make your store work as if the setting was disabled. Now if someone opens the HTTPS link, he/she will be redirected to HTTP (please have a look at the video attached). Please check it.

I want to thank Timur from cs-cart support for his great support service.