# Cart Choose a **drawer** or a full **cart page** in [Theme settings → Cart](page:settings-cart). - On the cart page, shoppers can change an item's size or color in place without going back to the product. **Edit** shows on items that have another size or color to pick. - Kits added from the kit builder stay together as one group. - The items, totals, checkout button and the empty bag are always there. Everything else is a block. @image(media/guides/cart-drawer.jpg "The cart drawer on the demo: the rewards bar at the top, the items, Order note and Estimate shipping, the discount code and the checkout button, with Complete the kit recommendations beside it") ## Cart blocks Both carts are built from the same blocks, but each keeps its own: a block added to the drawer doesn't appear on the cart page. In the theme editor, open **Cart drawer** (on any page except the cart) or the **Cart** section (on the cart page). Each has three zones; select a zone, then **Add block**. @image(media/guides/editor-tree-cart-drawer.jpg "The Cart drawer's three zones in the demo: Rewards bar above the lines, Recommendations below them, and Order note, Shipping estimate and Discount code in the footer" "Editor · panel") | Zone | Cart drawer | Cart page | |---|---|---| | 1 | Above the lines | Summary, above the total | | 2 | Below the lines | Under checkout | | 3 | Footer, above the subtotal | Below the cart, across the page | | Block | What it does | |---|---| | Rewards bar | Progress toward the rewards in [Theme settings → Cart](page:settings-cart) | | Recommendations | Products to add, skipping what is in the bag. In the drawer, leave the collection empty to use Shopify's recommendations; the cart page needs a collection. | | Order note | In the drawer a button with a panel; on the page a row that saves as the shopper types | | Shipping estimate | Your shipping rates for a country and ZIP code. Final costs are shown at checkout. **Open on the cart page** shows the row opened. | | Discount code | A code field with the applied codes. Shoppers can also enter codes at checkout. **Open on the cart page** shows the row opened. | | Gift wrap | A switch that adds the gift wrap product from Theme settings → Cart, once per order. When gift wrap is offered on each product, the switches sit under the items instead | | Terms checkbox | The cart's checkout buttons wait until it is ticked | | Payment icons | The payment methods turned on in your payment settings | | Installments | Shop Pay Installments for the cart total, when your store offers them and the total qualifies | | Delivery estimate | An arrival range counted in working days from today | | Info row | An icon, a title and a line of text, for example how returns work | | Text, apps | A line of text, or an app block | @image(media/guides/cart-drawer-shipping.jpg "Estimate shipping opened in the drawer: shoppers pick a country, region and postal code to see your rates") Drag blocks to reorder them inside a zone. To move a block to another zone, add it there and remove it here. Selecting the cart drawer opens it in the preview; add a product to the bag there to see the blocks. In the **Cart drawer** section, **Summary on its own color scheme** puts the total and checkout area on a scheme of its own (and **Line above the summary** can be turned off), and **Block areas on their own color scheme** tints the three zones. On the cart page, the **Cart** section's summary box can take its own scheme too. > Note: The **Terms checkbox** holds back the cart's own checkout buttons only. Express checkout buttons such as Shop Pay and Apple Pay belong to Shopify and go straight to checkout: if agreement is required, turn off **Show accelerated checkout buttons** in the Cart section. Shoppers can also reach checkout in other ways, so the checkbox is not a legal consent record. > Note: The cart redraws itself after every change. App blocks that work with cart updates keep working; check an app in your cart before relying on it. @shots(main-cart) > Note: Prices in the cart are Shopify's real prices. The delivery estimate counts the days you set; it is not a carrier date. ## The empty bag When the bag is empty, the cart page shows a short message, a button and, if you set them, ways back into the store. Open the **Cart** section and scroll to **Empty bag**: - **Quick links**: a menu shown as up to six text links, such as your main activities. - **Heading**: your own words for the empty bag; leave it empty to keep the theme's text in every language. **Alignment** puts the message centered or on the left. - **Collection cards**: up to six collections as photo cards with their product counts. Each card uses the collection image, or its first product's photo. **Cards per row** sets two to four on computers (phones show two), and **Card style** puts the title below the photo or on it, with **Image darkening** behind the title. **More collections than columns** wraps the rest onto a new row, or keeps one row that scrolls sideways. - **Show the rewards bar**: tells shoppers what they get from the first item on, such as free shipping over $75. @row(media/guides/cart-empty.jpg media/guides/cart-empty-overlay.jpg "The empty cart page with four collection cards: Card style Title below the photo, then Title on the photo") The cart drawer has its own empty state, set in the **Cart drawer** section: a heading and text of your own, the rewards bar, a menu and a row of products from a collection. ## Kit discounts The kit builder's price tiers are a preview. The theme can't change prices, so the saving shoppers get comes from discounts you create in Shopify. Set up one automatic discount per tier: 1. In Shopify admin, go to **Discounts → Create discount → Amount off products**, and choose **Automatic discount**. 2. Set the percentage to the tier's **Discount (preview only)**, and under **Applies to** pick the products or collections the kit builder offers. 3. Under **Minimum purchase requirements**, choose **Minimum quantity of items** and enter the tier's **Pieces needed**. 4. Repeat for the other tiers. When several match, Shopify gives the shopper the largest one unless you set them to combine. Then turn on **Show tier discount in the total** in the kit builder, so the panel shows the price the checkout will give. In the cart, each kit's group shows **Kit discount** with everything Shopify discounted on those pieces. That includes other discounts that apply to them, such as a code, so it always matches the cart. **You save** under the subtotal adds sale (compare-at) prices too; the struck subtotal includes them, so the numbers add up. > Note: Shopify's built-in discounts count every qualifying item in the cart, not only the pieces added as a kit: two of the same leggings bought separately also reach a 2-piece tier. To discount kits only, use a discount app that reads the kit line property `_kit`. ## The checkout page Shopify runs the checkout, not the theme, so Endurance's colors and fonts don't reach it. Style it in **Settings → Checkout → Customize**: your logo, colors, fonts, buttons and the layout of the page. More options, such as extra checkout blocks, depend on your Shopify plan. The buttons before checkout, such as Shop Pay, Apple Pay and Google Pay, are Shopify's **dynamic checkout buttons**. They show on the product page with **Buy buttons → Show dynamic checkout buttons**, on the cart page and in the cart drawer with **Show accelerated checkout buttons** (off in the drawer until you turn it on), and only for the payment methods you've turned on in **Settings → Payments**.