I have a problem in the cart page of my store. When I change the quantity number and then click update cart my page refreshes the number goes back to it's original value, I am aware this will have to be done using Shopify Ajax? Can anyone help me fix this as I need both the line item quantity and cart price to update with the update cart button. All help appreciated.
NOTE: I also have a cart drawer on my site that updates automatically when the quantity is changed? and this works fine?
My store URL is: https://d6mhf9xxxt9ihv7h-13398802489.shopifypreview.com
I have checked your site.
Its looking that user can't checkout without login.
So, when cart update it will redirect to password page.
Check setting that guest user can proceed to checkout.
Have you installed any app.
I've noticed this happen when I'm previewing theme changes - when I update cart, the POST to /cart comes back with an HTTP 302 redirecting me to my main store (shop.mydomain.com), not my preview store (12354.shopifypreview.com). So the browser refreshes and shows my what my last cart was on the main store, not what it should be on the preview store.
Annoyingly, it looks like it does actually update my cart contents on the preview store, so if I hit back, I get the correct counts.
Makes it tough to write automated tests with confidence, which makes it tough to deploy theme changes with confidence.
|53 seconds ago|