Hello!
We are using a debut theme. We wanted to add the "Add to Cart Button" on each product on the collection page.
https://wishgardens.com/collections/home
I've tried every tutorial I have seen here in the community. But it became like this:
the at the bottom, after the footer, it looks like this:
Although we fixed it already. We still want to have "add to cart" button just like in the picture.
Hope someone can help us with it.
Thanks.
Hi,
Just follow the steps for Debut theme for Add to cart button on collection pages.
<form method="post" action="/cart/add">
<input type="hidden" name="id" value="{{ product.variants.first.id }}" />
<input min="1" type="number" id="quantity" name="quantity" value="1"/>
<input type="submit" value="Add to cart" class="btn" />
</form>
Hey, @Asrylanan!
There are also some third party apps in the Shopify App Store that have this functionality, if you’d prefer to use an app instead. Here are a few suggestions to take a look at:
For more information about using third party apps, including how to install, uninstall and where to receive support for them, take a look at the Help Doc on Apps for your Shopify store. Hope this helps!
Helen | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
User | Count |
---|---|
418 | |
209 | |
144 | |
53 | |
42 |