Updating product quantity in cart without reloading it?

Updating product quantity in cart without reloading it?

StoreHelpNeeded
Excursionist
50 0 10

Hello guys!

Is it possible to update the number of products in the cart and see the change appear without the page reloading automatically? The page reload jerks the page and it appears weird.

 

URL: shopcutify.com

Thank you!

Replies 4 (4)

Shadab_dev
Shopify Partner
160 5 18

@StoreHelpNeeded it is possible and there's no other easy way to it but code it out making an ajax request to the cart to add items and display a small message of added to cart.  

If this is helpful, please Like and Accept the solution.
Buy me Coffee, if you feel i was helpful. Definitely a motivation to carry out gutting solutions. Need help with shopify liquid or any project in web dev- Feel free to Email Me

Thanks
StoreHelpNeeded
Excursionist
50 0 10

Can you please help me with this?

Shadab_dev
Shopify Partner
160 5 18

@StoreHelpNeeded definitely. I believe you are using the Brooklyn theme which is kind of a paid one I guess so it won't be available for me since I am on a development store, I mean it won't let me edit code. 

 

So I would actually need access to your store. If it was just a bit of css or something I wouldn't have needed it but this requires JavaScript and a bit of html css so there's few lines to write here. Hope you understand. 

 

Thanks

If this is helpful, please Like and Accept the solution.
Buy me Coffee, if you feel i was helpful. Definitely a motivation to carry out gutting solutions. Need help with shopify liquid or any project in web dev- Feel free to Email Me

Thanks

prakashVt
Shopify Partner
110 10 23

Hello @StoreHelpNeeded 

 

I reviewed your store and noticed you are using a third-party app for discounts on your checkout page. I understand how frustrating it can be in 2024 to have to reload the page for updating a small detail.

The best solution is custom code, and I can help you with that. Please feel free to contact me.


Best regards,

Prakash P

- Did you find my response useful? Mark it as "Accepted solution"; so others can see it, or just like it.
- VTN Checkout Plus Looking for a Checkout App for your store? Check this app for all Shopify Plans.
- Feel free to Contact me