Hello @tvtronics,
I checked the site, but I could not recreate the issue you are describing.
I added 2 items to my cart, refreshed the page, and removed them. The bag counter showed 0, and it didn’t show 2 items initially. I also tried it without refreshing the page after adding items, and the problem did not occur as well.
Please see if your browser’s cache doesn’t cause this as I tested it both in Firefox and Chrome, and on both, I couldn’t replicate the problem you described.
@tvtronics,
I have to agree with you. A second set of eyes never hurts 🙂
I added an item to your cart (great website, by the way), then proceeded to delete it.
At first, the cart showed zero (0) items, but then when I refreshed the page, the cart showed the item I previously deleted. So, yes, the cart is being cached.
Cheerio.
Hello @generosus,
I checked the case and also did several tests in different browsers (Chrome, Safari, Opera):
Step1: I added 3 items in the cart:
https://prnt.sc/EDbe4NurC7jr
and
https://prnt.sc/DGn3mI_gJMpX
Step2: I then deleted the items and refreshed the home page several times:
https://prnt.sc/PX2_taNCdxw4
During my tests, I also ttried flushing my browser cache right after I added items to the cart. Once the cookies were flushed from my computer, the cart got emptied. This shows that your site does not communicate to the server when products are added to the cart but is recording the cart items in a local cookie on the local computer.
You should check the cookie, caching and the security settings in your computer. Something might be preventing your site from deleting / updating the local cookies.
Regards,
Plamen.M
Tech Support Team
SiteGround.com
Hi @plamen,
You spiked my curiosity. Thank you for sharing your test. I retested noted website with several browsers as well. You are correct.
After deleting my cart item and navigating to a page other than the item page, the cart showed zero (0) items. However, if I refresh the item page after deleting the item that’s in the cart, the cart repopulates itself with that item. This time, the website displayed a pop-up stating that would happen if I refresh the item page.
So, in short, the “phenomenon” is occurring by design, not due to any type of caching issue. My browsers’ cookie and cache settings are correct.
Out of curiosity, I performed the same, identical test at amazon dot com and did not experience the same issue.
Cheers!
Thank you @generosus for confirming the situation described by @plamenm.
@tvtronics, I would also recommend checking your site configuration and how the cart items are stored.