Body CSS classes
Liquid Ajax Cart adds CSS classes to the body
tag depending on the State of a user’s cart.
.js-ajax-cart-init
— if Liquid Ajax Cart has been loaded and initialized;.js-ajax-cart-empty
— if a user’s cart is empty;.js-ajax-cart-not-empty
— if a user’s cart is not empty;.js-ajax-cart-request-in-progress
— if Liquid Ajax Cart has one or more Ajax requests in progress..js-ajax-cart-not-compatible
— if Liquid Ajax Cart is not compatible with the browser.