Best implementation for the /cart page? #96
-
What is the recommended way of combining the ajax cart with the /cart page? The demo shows a "update cart" button at the bottom of the page https://liquid-ajax-cart.myshopify.com/cart. Is it possible to have multiple ![]() |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @edoardolunardi , Liquid Ajax Cart supports multiple If something is removed from DOM after the request, it means that the response of the request doesn't return the same amount of |
Beta Was this translation helpful? Give feedback.
No.
But each section must always return the same amount of
data-ajax-cart-section
elements.For example if cart drawer section has only one element, it should always return this one element. The same for the page section. Otherwise Liquid Ajax Cart will will not know what to do when a section returns different amount of elements.