Liquid Ajax Cart is also available as an npm package .
A new API called “Cart mutations” is added. It allows you to automatically add or remove cart items based on specific conditions. It is perfect solution for promotions and cart correction logic.
The data-ajax-cart-quantity-minus
and data-ajax-cart-quantity-plus
buttons
of the <ajax-cart-quantity>
custom tag
get the aria-disabled
and disabled
attributes when inactive.
quantityTagAllowZero
configuration parameter is added.
It lets a user reach the "0" value by clicking the data-ajax-cart-quantity-minus
button
within the <ajax-cart-quantity>
custom tag.
quantityTagDebounce
configuration parameters is added.
It lets you change the debounce time for the <ajax-cart-quantity>
custom tag.
The architecture of the library is completely redesigned.
Read more in the “Differences from v1.x.x” article.
Visit the Liquid Ajax Cart v1 page to read the docs, see the changelog, or download previous versions.