Boardwalk Block Guide

Cart Drawer Block

Everything you need to set up and customize the Cart Drawer — a slide-out panel that lets customers view their cart, adjust quantities, and proceed to checkout without leaving the current page.

About

A cart drawer is a slide-out panel that appears from the side of the screen when a customer clicks the cart icon. Instead of navigating to a separate cart page, the drawer lets shoppers review the items they've added, update quantities, remove products, and head straight to checkout — all without leaving the page they're on.

In the Boardwalk theme, the Cart Drawer is added as a block inside the Header section. It includes a free shipping progress bar, product images with quantity controls, discount and pricing details, an optional order note field, and both "View Cart" and "Checkout" buttons. When the cart is empty, a customizable empty state is displayed with an image, heading, and a button that links back to your store. The drawer updates automatically — items, totals, and the shipping bar all refresh without a full page reload whenever the cart changes.

Cart Drawer slide-out panel showing cart items, free shipping progress bar, and checkout buttons

How to Set Up the Cart Drawer

Follow these steps to add and configure the Cart Drawer on your Boardwalk theme store.

1
Open the Theme Editor

In your Shopify admin, go to Online Store → Themes, find Boardwalk, and click Customize.

2
Select the Header Section

In the Theme Editor sidebar, click on the Header section. The Cart Drawer is a block that lives inside the header, so you'll add it here.

3
Add the Cart Drawer Block

Click Add block inside the Header section and choose Cart Drawer from the list. The block will appear in the sidebar under your header.

Note: You only need one Cart Drawer block per header. Adding more than one may cause unexpected behavior.

4
Configure the Drawer Settings

Click on the Cart Drawer block in the sidebar to open its settings. Choose a drawer size, set up the free shipping progress bar, and configure which information to display for cart items and the cart footer.

5
Customize the Empty Cart State

Scroll down in the Cart Drawer settings to find the Empty cart options. Upload an optional image, set a custom heading, and configure the "Continue Shopping" button text and link. This is what customers will see when their cart has no items.

6
Set Up Free Shipping (Optional)

To motivate customers to add more items, enable the free shipping progress bar and set a dollar threshold. The bar will show how close the customer is to qualifying for free shipping.

Note: The free shipping progress bar is a visual motivator only. You still need to create a matching free shipping rate in your Shopify admin under Settings → Shipping and delivery to actually provide free shipping at checkout.

7
Save and Preview

Click Save in the Theme Editor. Visit your storefront and click the cart icon in the header to verify the drawer opens correctly, displays items as expected, and that the checkout button works.


Cart Drawer Settings

These settings are accessible by clicking the Cart Drawer block inside the Header section in the Theme Editor sidebar.

Cart Drawer Block Settings

Drawer size

Controls the width of the slide-out panel. Options: Small, Medium, or Large. On mobile devices the drawer always takes up the full screen width regardless of this setting.

Free Shipping Progress
Show free shipping progress bar

When enabled, a progress bar appears near the top of the drawer showing how close the customer is to qualifying for free shipping. Once the threshold is reached, a success message displays instead.

Free shipping threshold

The minimum order value (in dollars) a customer needs to reach for the progress bar to show as complete. Range: $0 to $500 in $10 increments.

Cart Items
Show product vendor

Displays the brand or vendor name above each product title in the cart. Useful for stores that carry multiple brands.

Show variant options

Displays variant details (such as Size, Color, or Material) below each product title so customers can confirm they've selected the right option.

Cart Footer
Show order note field

Adds an expandable text area in the cart footer where customers can leave special instructions for their order, such as gift wrapping requests or delivery notes.

Show tax/shipping info

Displays a note below the subtotal indicating whether taxes and shipping are included or calculated at checkout. The exact message adjusts automatically based on your store's tax and duty settings.

Empty Cart
Empty cart image

Upload an optional image to display when the cart is empty. If no image is provided, a default shopping bag icon is shown instead.

Image width

Sets the display width (in pixels) of the empty cart image. Adjust this to fit your image proportionally within the drawer.

Empty cart heading

The text displayed when the cart has no items. Use this to set a friendly message such as "Your cart is empty" or "Nothing here yet."

Continue shopping button text

The label for the button shown in the empty cart state. Customize this to match your brand voice, for example "Start Shopping" or "Browse Collections."

Continue shopping link

The URL the continue shopping button points to. Link it to your collections page, a featured collection, or any page you'd like customers to browse when their cart is empty.

Appearance
Color scheme

Select a color scheme to style the drawer panel's background and text colors. Use a scheme that contrasts well with your header for a polished look.


Built-in Features

The Cart Drawer includes several features that work automatically without any additional setup.

Live Cart Updates

When customers change quantities, remove items, or add products from anywhere on your site, the cart drawer updates automatically. Item counts, subtotals, discounts, and the free shipping bar all refresh without a full page reload, keeping the shopping experience fast and seamless.

Quantity Controls

Each cart item includes plus and minus buttons along with a direct-entry number field. The controls respect any quantity rules set on your product variants, such as minimum quantities, maximum limits, and custom increment steps.

Discount Display

The drawer automatically shows both line-level discounts (applied to individual items) and cart-level discounts (applied to the whole order). Sale prices appear alongside crossed-out original prices, and discount codes are listed with their savings amounts.

Subscription Details

If a product uses a selling plan (subscription), the plan name is displayed below the product details so customers can see their subscription frequency at a glance.

Line Item Properties

Custom properties added to a line item — such as personalization text or uploaded files — are displayed beneath the variant options. File uploads appear as clickable links.

Keyboard & Screen Reader Accessibility

The drawer traps focus when open so keyboard users can tab through the drawer without accidentally interacting with elements behind it. Pressing the Escape key closes the drawer. All buttons and interactive elements include descriptive labels for screen readers, and live status messages announce cart changes to assistive technology.

Backdrop Overlay

When the drawer opens, a semi-transparent backdrop with a blur effect appears behind the panel. Clicking anywhere on the backdrop closes the drawer.

View Cart & Checkout Buttons

The drawer footer includes two action buttons. View Cart takes the customer to the full cart page for a more detailed review, while Checkout sends them directly to Shopify's checkout. On mobile, these buttons stack vertically for easy tapping.


Frequently Asked Questions

The free shipping progress bar is only a visual motivator — it doesn't create a shipping rate. You need to set up a matching free shipping rate in your Shopify admin under Settings → Shipping and delivery. Create a rate with the same minimum order value as the threshold you've set in the Cart Drawer settings so the two work together.
Yes. Simply remove the Cart Drawer block from the Header section. When there is no Cart Drawer block, clicking the cart icon in the header will navigate customers to the dedicated cart page (/cart) instead of opening a drawer.
Make sure the Show order note field toggle is turned on in the Cart Drawer block settings under the Cart footer group. The order note appears as an expandable section in the footer area, so customers need to click it to reveal the text area.
The message automatically adjusts based on your store's tax and duty configuration in Shopify. If your store has taxes included in prices, the message will say so. If duties are also included, the message reflects that too. To change the exact wording, edit the corresponding translation strings in your theme's language file under sections.cart.
Small works well for stores with simple products and short names. Medium is a good all-around choice for most stores. Large is ideal if your products have long titles, multiple variants, or if you want the product images to be more prominent. On mobile, the drawer always takes up the full screen width regardless of which size you select.
No. The Cart Drawer is a single block in the Header section, which is shared across all pages of your store. The empty cart image, heading, and button settings will be the same everywhere. If no image is uploaded, a default shopping bag icon is shown.