ADD TO CART BUTTON

starspears
New Member
1 0 2

Hi, I recently changed the theme to my store to the boundless theme. But I do not have the add to cart button. How can I add it? I've tried adding it to the codes but it's not working.

Replies 3 (3)
Zworthkey
Shopify Partner
2567 309 641

Kindly

Check out this link it may be helpful for u. 

https://help.productcustomizer.com/article/174-boundless-theme-install-basic

If helpful, please Like and Accept Solution.
if you Want to modify or Customize your theme ,
Hire us | Whatsapp. and we also help you to guide how to reach to your potential customers to increase brand presence, engagements and sales for your business or Want to know more. Read our Shopify Blogs.Email us: sales@zworthkey.com
Deebella
Excursionist
15 0 4

@starspears 

 

Add this to product-grid-item-liquid

(Remove the third line if you don't want the quantity field to show)

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

 Add this to theme.scss.liquid to center it:

 

.add-to-cart{
text-align: center;
}

Zworthkey
Shopify Partner
2567 309 641

@starspears 

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

Add this code it will work

If helpful, please Like and Accept Solution.
if you Want to modify or Customize your theme ,
Hire us | Whatsapp. and we also help you to guide how to reach to your potential customers to increase brand presence, engagements and sales for your business or Want to know more. Read our Shopify Blogs.Email us: sales@zworthkey.com