Description
Liquid Ajax Cart is a JavaScript library that adds Ajax cart behavior to a Shopify theme without you writing the JavaScript yourself. You add data attributes or wrap elements in custom tags that the library provides. Wrapping a product form in an ajax-cart-product-form tag makes the form submit through Ajax, using the Shopify Cart API. Applying a data-ajax-cart-section attribute to a cart section makes the library re-render that section after each cart request, using bundled section rendering. A cart item quantity input can be wrapped to update quantities, and error messages can be placed with data attributes. The library documents its CSS classes and a JavaScript API. It has no default styles, so the cart matches your theme. The minified version is about 24 KB. The docs cover installation and the differences from version 1, and the current version is 2.2.0. The project is on GitHub, where you can open issues and discussions.…
Highlights
- Ajax add-to-cart from a product form, with no custom JavaScript
- Re-renders cart sections after each request
- Quantity inputs and error messages with data attributes
- No default styles, so it matches your theme
- About 24 KB minified, open source on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate Liquid Ajax Cart.
People also visit
Liquid Ajax Cart FAQ
What is Liquid Ajax Cart?
A JavaScript library that adds Ajax cart behavior to a Shopify theme, built on Liquid templates and data attributes.
Do I need to write JavaScript?
The site says you do not. You add data attributes or wrap elements in the library's custom tags.
How big is it?
The site says the minified version is about 24 KB.
Where can I get help?
The project has GitHub issues and discussions, and the docs cover installation and the differences from version 1.
What are the best Liquid Ajax Cart alternatives?
Popular alternatives to Liquid Ajax Cart include Snipcart, Shop.js and Laravel Cart. See all Liquid Ajax Cart alternatives






