This is in reference to my work site: []
This link will be removed when my question is answered :(
We are using the browsers local storage to store the users cart. So when adding an item to the cart notice the mini cart will keep in sync as you would expect.
Here are the steps to reproduce the bug.
This is happening because there are essentially two versions of local storage, 1 under SSL and 1 under an insecure page. How do I invalidate the insecure localstorage from the secure page?
Requirement: We need the cart page to be under SSL
Thanks.
Per the HTML5 spec, localStorage can not be transferred from HTTP to HTTPS.
The easiest way would be to store all localStorage off of one domain. Ex: https://www.example.com
See: Is there any workaround to make use of html5 localstorage on both http and https? for a similar question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With