Liquid, JavaScript, themes, sales channels
Please help when a customer tries to place an order and they click on add to cart it doesn't update the cart at all. You have to refresh the page in order for the items to show up.
I'm not sure exactly how you're store is set up, but it looks like the update cart function isn't firing after adding to cart.
Should be one of the above, if I copy and paste the code:
Shopify.onCartUpdate = function(cart) {
Shopify.updateCartInfo(cart, '#cart-info #cart-content', 'shopping-cart');
};
Into the browser console and execute it, the cart updates successfully. It should be a fairly simple fix to ensure this function fires after clicking those add to cart buttons.
okay so i need to update bc.global.js.liquid and the index one. I am so sorry for all the questions
is there away I can let you login and look at it. I don't have much but I am willing to pay you.
Sure, send me a message.
Hello, I am so sorry for getting back to you so late. I thought if I changed the theme that it would fix the issue but it didn't please help.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024