VexoWeb Posted March 14, 2019 Share Posted March 14, 2019 Hi guys, I'm new to prestashop and all regarding it, my issue is that when I click on different attribute connected to the product displayed during the adding to cart process, the url change and if I try to browse back, in the cache are stored all the clicks I did on the attributes. Hope I explained myself Is there a way to fix it? Thanks in advance Link to comment Share on other sites More sharing options...
NemoPS Posted March 16, 2019 Share Posted March 16, 2019 What's your prestashop version? It shouldn't happen by default, it looks like the browser history is being pushed on attribute change Link to comment Share on other sites More sharing options...
VexoWeb Posted March 18, 2019 Author Share Posted March 18, 2019 Hi NemoPS, prestashop is at the 1.7.2.5 , seems the last version right? Yes it's what I tried to explain. Which file should I edit to fix it? Link to comment Share on other sites More sharing options...
VexoWeb Posted March 19, 2019 Author Share Posted March 19, 2019 Seems I fixed it, I went to core.js and modified the window.history.pushState() to replaceState() at the if event.refreshUrl Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now