millien Posted November 9, 2014 Share Posted November 9, 2014 (edited) when i add a product to the basket and press back in the browser , it won't update the new product it goes to the old cache i think why is that ? and maby for help , when i screen record , it do update 90% of the time :S. example https://www.dropbox.com/s/js3pcfyk4m8pouq/blockcart.mov?dl=0 link to shop:http://new.nettotobak.com i use: Prestashop 1.6.0.6 Edited November 9, 2014 by millien (see edit history) Link to comment Share on other sites More sharing options...
FullCircles Posted November 10, 2014 Share Posted November 10, 2014 If I'm understanding you correctly, that's just standard behaviour for most browsers. When you hit the back button, it loads up the already cached copy of the page you were previously on, rather than just send you to the previous link and reloading the page again. It's just a speed increasing method that a lot of them use Link to comment Share on other sites More sharing options...
millien Posted November 10, 2014 Author Share Posted November 10, 2014 http://gnussa.se/ ( adult page ) this is a example of a site that dose not act like that , when you add a product and press back it updates the basket. how come this site dose it ? it's prestashop Link to comment Share on other sites More sharing options...
FullCircles Posted November 10, 2014 Share Posted November 10, 2014 Ah right I see what you mean now, that's due to it having an ajax'd cart, so if your store doesn't have ajax turned on, it wouldn't be able to function like that There should be a way to enable that in the admin preferences Link to comment Share on other sites More sharing options...
millien Posted November 10, 2014 Author Share Posted November 10, 2014 the ajax cart is enabled on the admin page already Link to comment Share on other sites More sharing options...
FullCircles Posted November 10, 2014 Share Posted November 10, 2014 Hmm, I don't know the specific function which causes it to act like that.. While it's true that it's updating the basket via ajax when you add to cart, what it's not doing is getting the basket each time you view a page via ajax, which the other site is I've had a look, can't seem to find any way to enable that functionality either.. hmm.. perhaps it's just been additional functionality in some of the themes we've been using previously, I thought it was just standard behaviour of the blockcart module Link to comment Share on other sites More sharing options...
millien Posted November 10, 2014 Author Share Posted November 10, 2014 i't very confusing for the costumer , i have all the files for the "working" page but don't know where to find the code. i have tried replce the ajax-cart.js but still same bug 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