搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox caching shopping cart incorrectly

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 FredMcD

more options

Hi,

I am having an issue with a website I am developing, which I am only seeing in Firefox. To reproduce please try the following:

1. Go to https://mymummyteacher.com/store and add a product to the cart. 2. Close the tab / browser 3. Go back to https://mymummyteacher.com/store and add a product to the cart. The single product that has been just added is shown, however the Subtotal and Total are showing as if the previously added product is still in there too.

If I do a hard reload (hold down shift), all the other products then appear. So I think this is an issue with caching. I am not seeing it on other browsers. Is this a bug, or is there something I can do to stop it happening?

Thanks

Hi, I am having an issue with a website I am developing, which I am only seeing in Firefox. To reproduce please try the following: 1. Go to https://mymummyteacher.com/store and add a product to the cart. 2. Close the tab / browser 3. Go back to https://mymummyteacher.com/store and add a product to the cart. The single product that has been just added is shown, however the Subtotal and Total are showing as if the previously added product is still in there too. If I do a hard reload (hold down shift), all the other products then appear. So I think this is an issue with caching. I am not seeing it on other browsers. Is this a bug, or is there something I can do to stop it happening? Thanks

所有回覆 (3)

more options

mike475 said

. . . The single product that has been just added is shown, however the Subtotal and Total are showing as if the previously added product is still in there too.

Actually, it still is. Most websites, when an item is placed in the shopping cart, don't remove that item unless the shopper removes it. Even if the browser is closed.

more options

Yep, absolutely. And that is the functionality I am after.

But on Firefox only, the previously added products are not listed in the cart. I am guessing it is a cache issue, but I am not sure how to address it.

more options

Ahh, I see. I called for more help.