Cart drawer section
Slide-out cart panel: line items, goal bar, upsells, and checkout — presentation lives here; shared behavior in Theme settings → Cart.
The cart drawer is the slide-out panel from the header bag when Theme settings → Cart type is Drawer. Set the drawer title, color scheme, and optional continue URL on this section. Empty-cart heading, message, supporting line, illustration, and recovery buttons are shared under Theme settings → Cart. Precedence for the primary Continue CTA: this section’s Continue shopping URL, then Theme settings → Empty cart button URL, then the home page. The drawer checkout link uses the store’s locale-aware root path (for example `/es/checkout` on a Spanish market). Shared behavior (cart type, auto-open, goal bar, vendor, discount, notes, accelerated checkout, and upsell toggles) also lives in Theme settings → Cart. With JavaScript on, changing a line quantity saves automatically after a short pause — there is no Update button next to the number (Remove stays). The drawer keeps a soft busy state while refreshing so the panel does not flash empty. App blocks render below theme upsells and above subtotal when the cart has items.
Sections overview · Section schema reference
Schema file
cart-drawer.liquid — t:sections.cart_drawer.name
Settings
| id | type | label |
|---|---|---|
| heading | text | t:sections.cart_drawer.settings.heading.label |
| empty_message | textarea | t:sections.cart_drawer.settings.empty_message.label |
| continue_url | url | t:sections.cart_drawer.settings.continue_url.label |
| color_scheme | color_scheme | t:sections.all.settings.color_scheme.label |
Blocks
| type | name | setting count |
|---|---|---|
| @app | — | 0 |
Was this page helpful?
Content is maintained by Arcanum Hollow Labs. For internal engineering notes, see the docs/ folder in the monorepo.