Slide-out drawer cart configuration for quick shopping and checkout
What It Does
The Cart Drawer section controls the slide-out cart drawer that appears when customers click the cart icon in your header. This drawer provides a quick view of cart contents, allows quantity adjustments, and offers express checkout options—all without leaving the current page.Configure drawer width, empty cart message position, and checkout button layout for optimal mobile and desktop shopping experiences.
This section controls drawer configuration only (size, layout, empty state). Cart items rendering and cart functionality handled by separate components. Changes here affect drawer appearance/behavior globally sitewide.
Getting Started
1
Locate Cart Drawer Settings
In Theme Customizer, go to header or search “Cart Drawer” section. This section typically lives in header area but affects drawer that appears sitewide.
2
Choose Drawer Size
Select drawer width (Small, Medium, Large) based on your products and customer device usage. Medium works for most stores.
3
Set Empty Cart Position
Choose where empty cart message displays vertically (Top, Center, Bottom). Center is most balanced.
4
Configure Button Layout (Desktop)
Select checkout button layout for desktop: Inline (side-by-side) or Column (stacked). Inline saves vertical space.
Settings
Section Settings
Empty Cart Content Vertical Position
Type: Select dropdown Options: Top, Center, Bottom Default: CenterControls where the “Your cart is empty” message displays when cart has no items.
Position Options
Top:
Message appears near top of drawer
Below cart title (“Shopping Cart”), above drawer middle
Creates bottom whitespace in drawer
Center (Default):
Message vertically centered in drawer
Balanced, natural reading position
Equal whitespace above and below
Bottom:
Message appears near bottom of drawer
Creates top whitespace in drawer
Unusual, typically avoid unless design requirement
Choosing Position
Center when: (Recommended for most stores)
Standard design, no specific branding requirements
Want balanced, professional appearance
Empty state message is 1-2 lines
Top when:
Custom design pushes primary content upward
Want consistent top alignment with other drawer states
Empty message includes additional content (images, links below text)
Bottom when:
Specific brand aesthetic (e.g., footer focus)
Testing unusual layout for differentiation
Generally avoid—feels awkward for users expecting centered content
Best Practices
Message content:
Default message usually “Your cart is empty” (editable in theme translation files)
Keep concise (1-2 sentences max)
Consider adding “Continue Shopping” link below message (requires theme customization)
Mobile consideration:
On mobile, drawer is smaller height
Top/Center/Bottom spacing compresses
Center tends to work best across device sizes
Testing:
Empty cart (remove all items)
Open cart drawer
Check message position—should feel natural, not awkward
Recommendation: Use Center (default) unless you have specific design reason to change. Top is secondary option; Bottom rarely ideal.
Cart Drawer Size
Type: Select dropdown Options: Small, Medium, Large Default: MediumControls the width of the cart drawer when opened.
Size Options
Small:
Width: ~300-350px (approximate)
Best for: Minimal carts, simple products
Pro: More browsing space remains visible behind drawer
Con: Cramped for products with long names or large images
Use when: Products simple (digital goods, services), mobile-first audience
Medium (Default):
Width: ~400-450px (approximate)
Best for: Most stores, standard products
Pro: Balance between cart detail and page visibility
Con: None—versatile for most use cases
Use when: Standard e-commerce (apparel, home goods, general retail)
Large:
Width: ~500-600px (approximate)
Best for: Complex products, detailed cart info
Pro: Maximum space for product images, descriptions, upsells
Con: Covers more browsing area, feels heavy on smaller screens
Use when: Products need detail (variants, customizations), desktop-heavy traffic
Choosing Drawer Size
Consider product complexity:
Simple products (t-shirts, basic items): Small or Medium
Products with variants (sizes, colors): Medium
Complex products (customizable, bundles): Medium or Large
Consider product names:
Short names (“Classic Tee”): Small works
Medium names (“Men’s Organic Cotton T-Shirt”): Medium
Long names with details: Large (avoids truncation)
Consider cart images:
No images in cart: Small sufficient
Small product thumbnails: Small or Medium
Large product images: Medium or Large
Consider audience device:
Mobile-heavy: Small or Medium (leaves more screen visible)
Desktop-heavy: Medium or Large (utilize screen space)
Balanced: Medium (works well both)
Testing Process
Add 2-3 products to cart (mix of simple and complex)
Open cart drawer
Check readability of product names, image clarity, button spacing
Test on desktop and mobile (drawer behavior may differ)
Choose size where everything feels comfortable, not cramped or overly spacious
Best Practices
Mobile behavior:
On mobile (< 768px), drawer often becomes full-screen or near-full regardless of setting
This setting primarily affects desktop/tablet experience
Still test on mobile—sizing may affect internal cart spacing
Don’t go too large:
Large drawer covers significant browsing area
Users may want to continue shopping while cart open
Balance drawer utility vs page access
Match brand aesthetic:
Minimal brands: Small (airy, unobtrusive)
Standard brands: Medium (professional)
Luxury/detailed brands: Large (showcase cart contents)
Recommendation: Start with Medium (default), adjust to Small for minimal products or Large for complex products with details. Test with actual products in cart.
Buttons Layout Type
Type: Select dropdown Options: Inline, Column Default: Inline Info: “This layout is only for desktop”Controls checkout button layout on desktop (does not affect mobile).
Layout Options
Inline (Default):
Buttons displayed side-by-side horizontally
Example: [View Cart] [Checkout] (two buttons in same row)
Pro: Compact, saves vertical space in drawer
Con: Less prominent call-to-action
Column:
Buttons stacked vertically
Example:
[Checkout][View Cart]
Pro: More prominent, especially primary “Checkout” button
Con: Takes more vertical space
Choosing Layout
Inline when:
Want compact drawer (vertical space constrained)
Both buttons equally important (View Cart and Checkout)
Regardless of layout, make Checkout button most prominent (color, size, weight)
View Cart button secondary styling (outline, less vibrant)
Continue Shopping tertiary (text link or subtle button)
Mobile testing:
Even though setting is desktop-only, test mobile to see default mobile layout
Ensure mobile buttons easily tappable (48x48px minimum touch target)
Recommendation: Use Inline (default) for clean, compact drawer. Switch to Column if you want prominent “Checkout” CTA or have drawer vertical space to utilize.
Best practices
Medium Drawer for Most Stores
Start with Medium drawer size—works for 80% of stores. Adjust to Small for simple products or Large for complex products with variants/customizations.
Center Empty Message
Keep empty cart message vertically centered (default). Creates balanced, professional appearance when cart is empty. Top/Bottom rarely needed.
Inline Buttons Save Space
Use Inline button layout (default) for compact drawer. Switch to Column only if emphasizing “Checkout” CTA or have vertical space to spare.
Test with Real Products
Add 2-3 actual products to cart and test drawer on desktop and mobile. Check product name readability, image clarity, button spacing before launching.
Mobile Goes Full-Screen
On mobile, drawer often full-screen regardless of size setting. Settings primarily affect desktop/tablet. Always test mobile separately.
Prominent Checkout Button
Ensure “Checkout” button visually stands out (color, size) regardless of Inline or Column layout. Primary CTA should be unmistakable.
Fast Checkout Experience
Cart drawer purpose is quick checkout without page navigation. Keep it fast—avoid heavy images, excessive upsells that slow drawer load.
Accessibility Matters
Ensure drawer keyboard-navigable (Tab through items/buttons, Esc to close). Test with screen reader—all cart items and totals should be announced.
Common Use Cases
Standard Retail Drawer
Settings: Medium drawer, Center empty message, Inline buttonsSetup: Default configuration works for most general retail (apparel, home goods, accessories). Balanced space, professional appearance.Best for: Most e-commerce stores without special requirements
Simple Digital Products
Settings: Small drawer, Center empty message, Inline buttonsSetup: Small drawer for digital goods (courses, ebooks, software). Product names short, no physical details needed, minimal cart.Best for: Digital downloads, services, memberships, simple SKUs
Complex Customizable Products
Settings: Large drawer, Center empty message, Column buttonsSetup: Large drawer for products with variants, customizations (engraved jewelry, custom apparel). Column buttons emphasize checkout CTA.Best for: Customizable products, bundles, products with many options
Mobile-First Fashion Store
Settings: Small drawer, Center empty message, Inline buttonsSetup: Small drawer leaves more browsing space on tablets/small desktops. Fashion brands benefit from keeping product grid visible behind drawer.Best for: Fashion, apparel, mobile-heavy traffic
Conversion-Optimized Layout
Settings: Medium drawer, Center empty message, Column buttonsSetup: Column buttons make “Checkout” prominent (full-width, top position). Optimized for pushing customers to checkout page immediately.Best for: High-conversion focus, impulse purchases, limited-time sales