View current api.jquery.js file.

A few Variants in this store

The Cart

Shopify.getCart Shopify.getCart()
Shopify.addItem Shopify.addItem( , )
Shopify.addItemFromForm
variant: qty:

Shopify.addItemFromForm('add-item-form')

Shopify.updateCartAttributes Shopify.updateCartAttributes( {
  • '' : ''
} )
Shopify.updateCartNote Shopify.updateCartNote()
Shopify.removeItem Shopify.removeItem()
Shopify.changeItem Shopify.changeItem(, )
Shopify.clear Shopify.clear()

A product

Shopify.getProduct (requires the handle of a product)
Shopify.getProduct()
Tools

Shopify.resizeImage(
,

)

Shopify.formatMoney()