Jump to content

[Solved] Problems when I add a product to my cart. S.O.S.


Recommended Posts

Hello.

I hope that someone can help me.

In my Backoffice I have enabled "the previous page" in the field "Re-direction after adding product to cart:".
The problem is that this happens when I add the first article, when I add the second my store go to the cart summary.
This only happens if I have the SSL option enabled.

Can anybody help me please. I really need to solve this as son as possible.

This is my website. click here

Link to comment
Share on other sites

I get a ssl warning for unencrypted content when switching from the ssl cart to Continue shopping. Then when i add the same product (in ssl) then it is redirected to the cart. Annoying if you dont want that. But you should check if all your files are available in ssl mode (see error) and then turn force compile off and test again.
If that all doesnt work then pls report a detailed bug report.

Link to comment
Share on other sites

Thanks for your answer.

Yes, I saw this matter, but I don't know how to check wich are the non-secure elements. I though that the problem was the top menu or the twitter module, but when I disabled both, the problem still there.

Could you tell me how can I know wich are these non-secure elements.?

Thanks.

Link to comment
Share on other sites

I have checked my store with the tool provided by your website, and my certificate seems to have some kind of irregularity, but if I check another sites as Apple.com, Symantec and also Verisign, they seems to have irregularitys in his certificates too.

With the results I get from your site check tool, are you telling me that my website is more secure than Apple?

Something here seems to have no sense.

Could you explain me why this happens, please?

Link to comment
Share on other sites

The solution for non-Ajax cart under https is...

classes/Tools.php alrededor de la linea 56
replace:

if (strpos($url, 'http://') === FALSE)


to

if (strpos($url, 'http://') === FALSE && strpos($url, 'https://') === FALSE)



and

controllers/CartController.php around line 230
replace:

(Tools::redirect($regs[3]);


to

Tools::redirect($_SERVER['HTTP_REFERER'])




Bye.

Link to comment
Share on other sites

×
×
  • Create New...