Skip to content

Cart drawer ​

This guide describes how to set up the Cart drawer section.

For general guidance with modifying sections, refer to Sections overview and Shopify help: Sections and blocks.

Configure the Cart drawer section ​

To configure your Cart drawer section:

  1. In the Theme editor, use the theme templates dropdown at the top of the page to select the Cart page.

    Note

    The section is only available in the Cart page's Overlay area. To use the section, in Theme settings > Cart, set the Cart type option to Modal. The section is disabled when Cart type is set to Page in Theme settings.

  2. From the side menu, select Cart drawer.

  3. Select a setting described in the following table.

Setting nameDescription
Enable cart notesUse the Enable cart notes option to show or hide a text entry field in the section that allows customers to add a note before they proceed to the checkout page.
Show product vendorUse the Show product vendor option to show or hide the names of product vendors for products in the section.
Cart upsells > Enable cart upsellsSet the Enable cart upsells option to show or hide recommended products in the section's upsells area.
Cart upsells > Display on cardSet the Display on card option to show or hide a card behind the section's upsells area. Refer to Shopify help: Cards.
Cart upsells > CropUse the Crop option to select No crop, Landscape, Square, or Portrait. This setting controls the aspect ratio of the product media displayed in the section's upsells area.
Cart upsells > SourceUse the Source option to select Complementary, Collection, or Product list. This setting specifies a type for the source of the products displayed in the section's upsells area.
Cart upsells > Max productsUse the Max products option to select 3, 4, or 6. This setting specifies the maximum number of products to display in the section's upsells area. To use this option, set the Source option to Collection or Complementary.
Cart upsells > CollectionUse the Collection picker to select a collection to use as a source of products to display in the section's upsells area. To use this option, set the Source option to Collection.
Cart upsells > ProductsUse the Products picker to select products to display in the section's upsells area. To use this option, set the Source option to Product list.
Complementary cart upsellsProducts recommended via complementary cart upsells are based on the first product in the cart. To specify particular complementary products, install Shopify's Search & Discovery app. Refer to Shopify dev docs: Product recommendations.
Theme settingsIf available, select Theme settings to access additional settings for the section. Refer to Section theme settings menu.
Custom CSSSelect Custom CSS. In the CSS field, enter custom CSS styles to apply only to the current section. Refer to Shopify help: Add custom CSS. To apply custom styles to your entire online store, refer to Theme settings > Custom CSS.
Remove sectionSelect Remove section to delete the section from the current page.

Note

To connect a metafield to a setting that supports metafields, select the Connect dynamic source icon displayed beside the setting in the Theme editor.

To learn how to connect a metafield to a supported setting, refer to Shopify help: Connecting metafields to your theme by using the Theme editor.