Woocommerce Synchronization – Cart Not Updating Without Page Refresh

Hi,

I am using Beta 3.5.1 #2 but I am still getting an issue where if a reservation is made it is added to the cart but does not show unless the page is refreshed. This causes confusion with our customers. Is there a way to get the cart to show the reservation without a page refresh?

There’s code to do so, but maybe woocommerce changed something since. I’ll have a look for the next beta.
Regards

Hi,

When will the next beta be available – will it have the Cart refresh?

I found out that there’s no function you can call to reload the shopping cart. That means I’d have to make an ajax call to the server, execute the shopping cart widget, empty the current one and fill it with the answer. That’d work for the widget, but if themes have their shopping cart in other places (what they often do) it wouldn’t. I wanted to look through the javascripts of woocommerce if I can find anything better there, but didn’t came to it.
Regards

You must be logged in to reply in this thread.