View Issue Details

IDProjectCategoryView StatusLast Update
0005343OXID eShop (all versions)1.03. Basket, checkout processpublic2015-12-01 10:07
Reportermichael_keiluweit 
PrioritynormalSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.7.6 / 5.0.6 
Target VersionFixed in Version 
Summary0005343: Basket items amount is disappearing after using back button
DescriptionWhen you use the back button of the browser after putting your first article into the basket, the information number of "how many articles are in the basket" at the top on the right is disappearing.
After refreshing the site, the number is back again and the behaviour will not appear again.

The article will not be removed from the basket, it is just a display error in the frontend.
Steps To Reproduce1. goto: http://demoshop.oxid-esales.com/professional-edition/
2. Delete cookies an browser cache
3. Click on a button "to cart"
4. See the number on the basket symbol (must be 1)
5. Use the back button of the browser
6. The number is disappeared.
7. Press F5 the number is back again and until now, it will stand there
8. Use the back button again
9. The number stays there now (and will forever)
TagsNo tags attached.
ThemeAzure
BrowserAll
PHP VersionNot defined
MySQL VersionNot defined

Relationships

has duplicate 0004940 closedLinas Kukulskis IE 8 Browser back clears basket 

Activities

mantas.vaitkunas

2013-08-21 10:19

administrator   ~0008977

To fix this issue there is quick fix, to add these headers:
header("Cache-Control: no-store, no-cache, must-revalidate, no-transform, max-age=0, post-check=0, pre-check=0");
header("Pragma: no-cache");

But than browser will not cache data and performance will go down...
So proper solution will be done later.