Skip to main content
The Cart items template (main-cart-items) displays the shopping cart page when customers click the cart icon (for stores not using cart drawer).
Cart page overview

What this section controls

  • Cart items list with quantities
  • Remove item functionality
  • Cart total calculation
  • Checkout button
  • Empty cart message

Getting started

1

Open Theme Customizer

In your Shopify admin, go to Online Store > Themes and click Customize on your active theme.
2

Navigate to cart page

Use the page selector dropdown to select Cart to preview the cart page.
3

Locate the template

The “Cart items” section controls the main cart template (when not using cart drawer).

Template settings

This section has no customizable settings - cart functionality is automatic and controlled by theme settings. Automatic features:
  • Cart item list with product images
  • Quantity adjustment (+/- buttons)
  • Remove item buttons
  • Price calculations (subtotal, totals)
  • Checkout button
  • Empty cart state
  • Continue shopping link
Cart type: Whether this page or cart drawer displays is controlled in Theme Settings → Cart.

Best practices

Test cart functionality

Regularly test adding items, updating quantities, and removing items to ensure smooth cart experience.

Consider cart drawer

Many stores prefer cart drawer over cart page for faster checkout flow. Configure in Theme Settings → Cart.

Add cart upsells

Use additional sections on cart template for product recommendations, shipping thresholds, or trust badges.

Monitor cart abandonment

Track cart abandonment rates - high rates may indicate checkout friction beyond cart display itself.