How can I stop the 'add to cart' button taking customers straight to checkout?

New Member
3 0 1

Hello. I have added the following code to show 'add to cart' button under my product grids. I added this in snippets  ->  product-card-grid.liquid

<form method="post" action="/cart/add">
<input type="hidden" name="id" value="{{ }}" />
<input type="submit" value="Add to cart" class="btn" />


However, whenever I add the product to the cart, it takes me directly to the cart checkout page. I want customers to add to cart but to remain on the same page, and then manually go to the checkout themselves. How can I do that? I am using the Debut theme.



Shopify Partner
19126 2005 7059


Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on regarding any help
Shopify Expert | Skype :
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing