[Resolved] WooCommerce Cart Widget Not Working Properly After Upgrade to WPML 3.4.0
Hi, Amit here, I am the WPML Support Manager, our current ticket queue is quite calm and I’d like to encourage you to use our new chat support option
We are working hard to debug and look at every single report
All of the known issues are documented in https://wpml.org/known-issues/ you can also use our support search to find helpful information and of course review our documentation before opening a ticket.
We are also adding once a week a tutorial to our YouTube channel – https://www.youtube.com/c/WPML-multilingual – check out if we already covered what you need and leave us a comment if you want us to produce anything there
If you do need to open a ticket please make sure to provide us with all the needed information as described here https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/
We are very proud at our level of support, we are one team from all over the world and we are all experienced WordPress developers, you can read more about us here – https://wpml.org/forums/supporters/
This is the technical support forum for WPML – the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 13 replies, has 2 voices.
Assigned support staff: Shekhar Bhandari.
Until I upgraded to WPML 3.4.0 yesterday, when I added items to my cart, the WooCommerce Dropdown Cart widget that I have in the menu of my site accurately displayed the contents of the cart regardless of where I was on my site.
URL of (my) website where problem appears: hidden link
I expect to see the items in my cart accurately displayed regardless of where I am on the site, as I could before upgrading WPML yesterday.
Instead, I got: If you add something to the cart then go back to the top page of the site, the number of items in the cart is fine, but the dropdown shows an empty cart.
What’s worse, is that I have noticed the cart contents that I added in one browser session (say Safari) showing up in a different browser (Firefox or Chrome) so the cache software on my site is now caching the contents of this dropdown cart and showing them to other users. This only happens occasionally, but this is of course a big problem too.
Steps to duplicate the issue:
Visit my shop here, and add a few items to the shopping cart: hidden link
Then click on the logo in the top left corner to go to the top page. You’ll probably see the number of items that you added to the cart displayed in the cart icon on the far right of the menu, but when you hover over the cart icon, it will be empty.
If it’s not empty, make a note of the total amount shown, then click the cart button in the dropdown, and in the cart, change the number of one of the items from 1 to 2, then press the update cart button and note the new total for the cart contents.
Go back to the top page and check the cart totals. It’s probably out of sync, showing the old total.
BTW, I’m not sure where the WooCommerce Dropdown Cart widget comes from, but I think it’s part of my theme, Bridge, from Qode.
Again, I’d like to stress that this all worked perfected, with caching, minification and concatenation turned on, until I updated WPML yesterday. I have of course cleared the cache a number of times as I tried to solve this, but nothing helps.
Any help or advice that you can provide is very much appreciated.