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