Jump to content

'Basket/Cart' not updating when using back button browser


RBosma

Recommended Posts

First off, my English isn't the best but hopefully you guys can understand what I'm writing ;-)

When customers are using the shop and putting stuff into the basket it shows the price nicely, but when they use the 'back' button of the browser it shows before putting the last item in the basket, even when clicking the basket it shows all items except the last one. 
Is there a way of refreshing the basket even when using the back button of the browser??

Hopefully this question hasn't been asked in the past, I was looked for it but couldn't find it..

Regards, René

Edited by RBosma
Link to comment
Share on other sites

What version of CC are you using? Are they using the Back button because they want to shop more and they have no links to Home or Categories? I copied navigation from main.php back to the content.checkout.confirm.php page of v6 for just that reason.

Link to comment
Share on other sites

I understand there is, for a general solution not specific to CubeCart, a page Response header that can be used to tell the browser to "expire" the page immediately (not the same as a cookie reaching its expiration). Thus, clicking the Back button will have the browser throw up a warning that says, "This page has expired. Yada Yada."

There may also be a javascript trick that purges the browser's History stack. Again, a solution not specific to CubeCart.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...