Add to cart from collection page - Streamline paid theme

SophieOLane
New Member
2 0 0

I would like to add an add to cart button by coding to the streamline paid theme.

Does anyone know where and what code please?

Thanks

0 Likes
Guleria
Shopify Partner
1255 263 346

Hello  ,

Here is code

 

<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>

 

Where to add it, you have to search files a/to your theme structure.
btw base file is collection.liquid you can find this file under Templates.

Thanks

Want to modify or custom changes on store hire me.
Email: guleriathakur43@gmail.com, Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate Click here (Its my paypal)
0 Likes
SophieOLane
New Member
2 0 0

Thank you!

Do you know where I would find where to put it in the code please?

Thank you

0 Likes