Menu Cart not updating when using back button in browser
-
Hello.
I would really appreciate some help with this issue I’m having.
I have this plugin installed on my site, and the only times that the cart updates (items and subtotal) when using the back button to go to the previous page is when I’m going from a product back to a category page.
In the following cases the cart shows the previous value when going back:
- Clicking on a related product, adding it to cart, and the going back to the previous product.
- Updating cart quantity in the cart page (this doesn’t even update the menu cart without going back)
- Clicking on a product in a BRAND page, adding it to cart and going back to BRAND page.
The issue seems to be similar to this: https://github.com/woocommerce/woocommerce/issues/32454 however it also affects the Firefox browser.
I had encountered this issue around 6 months ago, and the code snippet from the github thread had worked. It just stopped working though.
I’m using the Divi theme and everything is updated to the latest version.
Thank you in advance.
The page I need help with: [log in to see the link]
- The topic ‘Menu Cart not updating when using back button in browser’ is closed to new replies.