Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

Chris Saunders commented on Duplicating "Add to cart" button on a product page

$
0
0

You can manage the cart using the AJAX API, such that when the button is clicked you add the product to the cart that way. This makes it such that you don't require all the form setup that you would if you were to implement it purely in liquid.

You can play around with the AJAX API here.


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>