Root

This section is only required for a drawer cart, it is not required for a classic cart page.

Snippet

Use the following attribute to mark the root of the drawer cart. The root refers to the section that spans all cart items and the subtotal section.

la-dn-drawercart-root

Example

<div id="drawer-cart" la-dn-drawercart-root>
    ...
    ... line items
    ...
    ... subtotal
    ...
</div>

Last updated