Mini cart acting weird shows and updates certain things
-
Good morning ladies and gents! Hope y’all had a great weekend.
The reason I call it “weird” is because it makes “cero” sense what’s going on. I’m not using any cache plugins, I have left only WC and theme enable. I even tested the “fragments()” function, cleared browser cache, used different browsers, used “private/incognito” and nothing. Switched to WP TT4 theme and same problem. Below is whats happening:
- You add a product to cart -> Mini Cart Off-canvas (count) gets updated->ajax loader is shown->No product is added to list (counter still shows qty). Also, bag/cart at main menu is updated with qty. Same happens if you keep adding other products. It will not update/show the list of items.
- If you do a refresh to the page and open the mini cart. It will display all items added previously. Now, if you add another item. It will update the counter on both the mini cart and bag/cart menu. But, won’t add the product to the list.
- If you delete an item from the list. The counter gets updated, the bag/cart menu gets updated. You get stuck with the “processing” animation FOR EVER. Not even closing and reopening the mini cart will stop showing the animation. Even tho, the items was deleted from the list.
- No errors at console nor debug log.
I have attached some screenshots for visual identification of the above explanation.
01-FIRST ITEM ADDED TO CART
02-MENU CART COUNTER ALWAYS UPDATE
03-SECOND ITEM ADDED TO CART
04-FIRST AND SECOND ITEMS AFTER A PAGE REFRESH
05-DELETING AN ITEM FROM MINI CART
06-DELETED ITEM AFTER CLOSING/RE-OPENING THE MINI CART
07-DELETED ITEM AFTER PAGE REFRESHP.S. I’m Running the latest version of PHP 8.3, Woocommerce 9.2.2 and WordPress 6.6.1. Any shining light to this issue will be much appreciated!
The page I need help with: [log in to see the link]
- The topic ‘Mini cart acting weird shows and updates certain things’ is closed to new replies.