Add 'add to cart' buttons on collection page (streamline theme)

sayprojects
New Member
4 0 0

Hi there --

I am using the Streamline theme by Archetype Themes. 

I would like to add an add to cart button beneath each product on the collections page. Currently there are no buttons on the collections page.

Has anyone successfully done this before and willing to share the how-to?

Thanks

0 Likes
Pallavi
Shopify Expert
691 86 97

Hello There,

Check this article and implement

Just follow the steps for Debut theme for Add to cart button on collection pages.

From Shopify Admin select Online Store and click on Themes
Choose your main theme
Click the . . . on the top left-right (see below) and hit Edit code
Open Snippets -> product-card-grid.liquid File and paste below code at the end of the page.
<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>

https://www.huratips.com/tech-tips/how-to-add-add-to-cart-button-on-shopify-collection-pages-for-eac...

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
0 Likes