I'm using OC version 3.0.3.2. My shopping cart would bounce all over the place as I browsed the website. It would go from containing items to not containing items or from containing items and then containing different items. I fought with this for a long time until I found a locked thread here dated Oct 18, 2018
viewtopic.php?t=207498, from ADD Creative, that solved the problem. What baffles me is even in the latest version of OC this fix is not incorporated.
Here is the fix. Maybe it will be easier to find for others.
In system/framework.php find the following line at around line 74.
Code: Select all
$response->addHeader('Content-Type: text/html; charset=utf-8');
After that line add the following.
Code: Select all
$response->addHeader('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
$response->addHeader('Pragma: no-cache');
You will might have to clear your browser cache as well.