Skip to main content

Creating an Instant Cart Drawer

Updated today

Instant provides a flexible and powerful way to create fully customized cart experiences for your online store. Whether you prefer to start from a professionally designed template or build a cart completely from scratch, the cart builder allows full creative freedom over structure, design, and functionality.

Overview

The cart builder lets you create slide-out cart drawers that match your brand identity and enhance the shopping experience.

What You Can Build

Feature

Description

Cart drawer

Slide-out cart that appears when products are added

Reward bars

Threshold-based incentives (e.g., free shipping)

Product upsells

Related product recommendations

Add-ons

Extra items like shipping protection

Countdown timers

Urgency-creating cart expiration

Getting Started with Templates

The easiest way to begin is by selecting a cart template from Instant's template library. We've created a wide variety of carts for different use cases.

Finding Cart Templates

All cart templates can be found in the Template Library. Browse and select one that fits your store's style and needs.

Customization Options

Everything in the cart is fully customizable:

Customization

Examples

Animations

Cart appearance transitions and effects

Colors

Background, text, buttons, accents

Typography

Fonts, sizes, weights

Branding

Logo placement, brand colors

Design details

Border radius, shadows, spacing

This flexibility allows you to align the cart with your brand identity and store design.

Adjusting the Filled and Empty Cart State

All cart templates have a Filled and Empty state which you can toggle in the sidebar on the right. This allows you to show different content based on whether a customer has added products to their cart.

Filled State

The default filled state structure includes:

Element

Purpose

Reward bar

Shows progress toward incentives

Product recommendations

Encourages upsells

Cart products

Displays items currently in cart

Designed to highlight incentives and encourage additional purchases.

Empty State

The default empty state structure includes:

Element

Purpose

Call-to-action

Encourages shopping

Navigation elements

Links to product categories

Helps guide customers to explore products when no items are in the cart.

Building a Cart from Scratch

Instead of using templates, you can create a cart layout from scratch.

Create a New Cart

  1. Navigate to the Layout Panel

  2. Add a new cart layout

  3. The layout initially contains a basic header, footer, and product overview

Add Cart Elements

Open the Insert Panel under Elements → Cart. The following cart elements are available:

Header & Footer

Provides the cart title, close button, price breakdown, and checkout button.

Product Items

Displays products in the cart with details such as name, price, and quantity.

Product Upsells

A product slider showcasing related or recommended products. Encourages customers to explore more items and increases average order value (AOV).

Cart Reward Bar

Displays a threshold-based incentive (e.g., free shipping over $50). Includes customizable active states to change the bar appearance when rewards unlock.

Cart Add-on

Allows customers to easily add extras like shipping protection. Digital add-ons can be created directly in Shopify and connected seamlessly.

Cart Countdown

Adds urgency by setting a timer for cart expiration. Can reset dynamically when products are added or removed.

Payment Icons

Automatically pulled from your Shopify store. Builds trust and reassures customers during checkout.

Publishing and Activation

Once your cart is designed, follow these steps to make it live.

Step 1: Publish the Cart

Click Publish in the builder.

Step 2: Set as Main Cart

Open the cart's settings and select Set as Main Cart.

Step 3: Test in Shopify

  1. Add a product in Shopify to see the cart in action

  2. The cart opens automatically when products are added

  3. The cart also opens when the cart icon is clicked

Standalone Layout

The cart works as a standalone layout. You don't need to create additional layouts for the cart drawer. However, you can combine it with Instant navigation for a seamless, on-brand shopping experience.

Quick Reference

Task

Action

Use cart template

Template Library → Cart templates

Create cart from scratch

Layout Panel → Add new cart layout

Add cart elements

Insert Panel → Elements → Cart

Toggle filled/empty state

Select cart → Right sidebar → State toggle

Publish cart

Click Publish button

Set as main cart

Cart settings → Set as Main Cart

Cart Elements Summary

Element

Purpose

Header & Footer

Title, close button, checkout

Product Items

Cart contents display

Product Upsells

Recommendations slider

Cart Reward Bar

Incentive progress

Cart Add-on

Extra items (e.g., protection)

Cart Countdown

Urgency timer

Payment Icons

Trust indicators

Did this answer your question?