Hi,
When adding a product to the cart from my store from say the homepage, the cart at the top right is still showing “0” items in the cart. I have to actually click the cart for it to change to 1. Is there any fix here? Seems confusing for shoppers trying to add products to the cart. My website is https://41naturals.com/
Hello,
Yes it’s possible. You have to check for the cart total item on return of ajax call.
Once you get it then with JS simply change the cart counter.
Thanks
Hi @41Naturals ,
You can do it with cart.item_count attribute in JS. After you finish running the add to cart event, you can simply call it and display it at “header__cart-count”.
And if you have no coding experience, you should hire a Shopify Expert for this. Because you need to change JS at theme.min.js.
Hope it helps!