Shopify themes, liquid, logos, and UX
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="{{ product.variants.first.id }}" />
<input type="submit" value="Add to cart" class="btn" />
</form>
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.
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.
User | RANK |
---|---|
75 | |
65 | |
64 | |
53 | |
49 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023