1 min read

Commerce

Cart drawer

A slide-in cart that keeps shoppers on the page. It carries an optional visual “piece tray”, a collapsible discount field and order note, and a shipping-expectation line you can scope by country.

The L'Écrin cart drawer with the coffret tray, line items and footer
L'Écrin — the slide-in cart: coffret tray, line items with quantity steppers, and a compact footer.

The piece tray#

The tray shows a little gallery of what’s in the cart — ideal for coffret builds, where the box is made of many pieces. It’s a collapsible accordion, open by default, and shows an overflow count past twelve pieces.

Turn it off entirely

Set show_tray off and nothing tray-related renders — the drawer becomes a clean, conventional cart.
The piece tray — a row of thumbnails labelled Your coffret, so far
The piece tray at the top of the drawer.
Piece tray settings — show the piece tray toggle and tray label
Its settings in the theme editor.

Discount code & order note#

The footer offers an Add discount code field and an Add a note box, laid out side by side as accordions — only one opens at a time. Both apply over AJAX without a page reload. Codes are validated against the cart and shown with a remove control; the note saves automatically.

SettingTypeDefaultDescription
drawer_titletextHeading at the top of the drawer.
show_traycheckboxOnShow the visual piece tray.
tray_labeltextLabel above the tray.
empty_titletextHeading shown when the cart is empty.
empty_texttextSupporting line for the empty state.
shipping_notetextA shipping-expectation line (e.g. delivery time). Leave empty to hide.
shipping_note_countriestextComma-separated ISO codes — show the note only for those markets. Empty = everywhere.
show_discountcheckboxOnOffer the discount-code field.
show_notecheckboxOnOffer the order-note box.
show_view_cartcheckboxOnShow the “View full cart” link below checkout.

Auto-open on add

Whether the drawer springs open after an add-to-cart is controlled by cart_auto_open in Theme settings → Cart.

Scoping the shipping note by market#

The shipping line can follow the shopper’s selected country. Enter the ISO codes where the note applies — for example US, CA — and it appears only for those markets, staying accurate as customers switch region.

Cart drawer footer settings — shipping note country codes, discount and note toggles
Footer settings: scope the shipping note by country, and toggle the discount field, order note and “View full cart” link.
Last updated July 2026