Trigger .trigger('contentUpdated')
on the element where dynamic content is injected.
$.ajax({
url: 'https://www.example.com',
method: 'POST',
data: {
id: '1'
This post will take you through the steps to add a quick order form page on your Shopify store. The form we will be adding allows users to quickly select quantities of items they would like to purchase, and then add all selected items to cart with one click.
Using the AJAX API for this type of task will give us a large amount of flexibility in how we can add items to the cart.