Step 1
Go to backend > Online Store> Theme and click on the Action button on the right hand side and select Edit code from the drop down

Step 2
Find the template called
product-card-grid.liquid under snippets folder

Step 3
Put this code very bottom of the file

<form class="text-center mb-5" method="post" action="/cart/add">
  <input type="hidden" name="id" value="{{ product.variants.first.id }}" />
 <input type="submit" value="Add to bag" class="btn" />

Thats it… enjoy Buneo

Want to hire a wordpress dev ping me on
skype: live:bijoyskakati
Email me: bijoyskakati@gmail.com

Bijoy Asked question November 12, 2021
Add a Comment