Jump to content

Shopping Cart menu icon qty not updating


Recommended Posts

Hi, In PrestaShop 1.74 I'm having a problem: I'm using the built-in shopping cart in AJAX mode and almost everything works fine. Unfortunately I've had to make considerable changes to the top navigation menu and have moved the cart and items and modified some of the HTML... The cart and the cart icon updates from a product page or the Cart page - BUT - the cart icon does not maintain status between pages. It always shows an empty cart when a page first loads irrespective of the quantity in the cart. How can I force it to update to the current status of the contents of the cart (which is being properly maintained by PrestaShop)? Just to be clear: If I update the cart from a product page  the top icon immediately shows the correct amount when the pop up window closes - but then when going to the cart page, the top cart icon displays '0' products until I manually increment it. Any ideas on how to solve this would be welcome!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...