How can I remove the Vendor name and replace with an Add to Cart button on this Slick carousel? This is for the Shopify Debut Theme. Thanks for your help :)
1 Answers
1
votes
Follow the below steps for Debut theme for Add to cart button on product grid.
- In 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" option.
- Open Snippets -> "product-card-grid.liquid" File and paste below code at the end of the page code.
Here is that 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>