Shopify add to cart button - Worddes
post-template-default,single,single-post,postid-441,single-format-standard,bridge-core-2.1.4,ajax_fade,page_not_loaded,,qode_grid_1300,qode-content-sidebar-responsive,qode-theme-ver-20.1,qode-theme-bridge,disabled_footer_bottom,qode_header_in_grid,wpb-js-composer js-comp-ver-6.1,vc_responsive

Shopify add to cart button

Shopify add to cart button

go to snippets and paste this code at the bottom

{% if product.available %}</code>
<div class=”card-grid-pro”><form action=”/cart/add” method=”post”><input name=”id” type=”hidden” value=”{{ }}” />
<input id=”quantity” min=”1″ name=”quantity” type=”number” value=”1″ />
<input class=”btn” type=”submit” value=”Add to cart” />
<input name=”return_to” type=”hidden” value=”back” /></form></div>
{% endif %}</code>

for add to cart page stay, the same page follow these links

No Comments

Post A Comment