Skip to main content

Cart item display

Configure cart item design — image dimensions, borders, typography for each element, quantity selector, and product savings display.

A
Written by Aditya Singh

The Cart Items panel controls the design of every product line item shown in the cart drawer — image size, typography, border, prices, quantity selector, and savings display. Open Cart Editor → Cart Items.

View Templates

Click View Templates at the top of the panel to browse pre-built cart item styles. Each template applies a consistent visual style across every cart item. The currently active template is shown next to the button (e.g. Selected Template: Style 1).

Picking a template overwrites every individual setting on this page (image size, font sizes, colors, etc.) with the template's values. After picking a template, you can still tune individual values to fine-tune the look.

Image

Controls the product thumbnail shown for each cart item.

Cart Item Design panel showing Image Width, Height, and Image Fit fields

  • Width (px) — default 120px. Set the pixel width of the thumbnail.

  • Height (px) — default 120px. Set the pixel height of the thumbnail. Equal width and height keeps thumbnails square; mismatched values create rectangular thumbnails.

  • Image Fit — controls how the product image fills the box. Contain shows the full image (may leave whitespace). Other options stretch or crop the image.

What to pick: 100–120px works for most stores. Larger thumbnails feel premium but reduce how many items fit above the fold. If your product photos have important edges (e.g. apparel, accessories), use Contain to avoid cropping.

Border Settings

A subtle border around each cart item card.

  • Border Color — hex color value (e.g. #E5E5E5 for a light grey). Use #0000 for transparent.

  • Border Radius (px) — corner rounding. 5px is the default. 0px gives sharp corners; 10–15px gives modern soft corners.

  • Border Width (px) — thickness. 1px is the standard; thicker borders look heavy.

For most stores, leave the border subtle — light grey or transparent with 1px width. Heavy borders compete with your product photos.

Typography for each text element

Each text element on the cart item has three controls — Text Color, Font Size, and Font Weight.

[Screenshot: Cart Item Design panel showing Title, Subtitle, Original Price, Final Price, and Discount Code typography controls]

Title

The product name. Default: #000000 / 14px / Bold. Bold helps the product name stand out as the primary line.

Subtitle

The variant info (size, color, etc.) shown below the title. Default: #6c6c6c (medium grey) / 12px / Regular. Smaller and lighter than the title — variant info should be readable but not compete with the product name.

Original Price

The pre-discount price (shown with strikethrough when a discount is applied). Default: #999999 / 12px / Regular. Light grey because it's secondary information — the customer should focus on the final price.

Final Price

The price the customer is actually paying. Default: #000000 / 16px / Bold. Bigger and bolder than the original price — this is what customers should anchor on.

Discount Code

When a discount code has been applied to a line item, this is how the code is rendered. Default: #61677c (dark grey-blue) / 12px / Bold. The bold weight signals it's a coupon-related callout.

Quantity Selector (Color and Size)

Controls the look of the quantity selector on each cart item.

  • Color — text and icon color of the quantity selector.

  • Size (px) — overall size of the quantity selector. Default 16px.

Match the color to your title color (typically #000000) for visual consistency.

Other Settings

Below the design controls, the Other Settings panel has additional cart item options.

Show Product Unit Price

Displays unit pricing like $0.50 / oz or $2.50 / lb below the line price. Useful for grocery, beauty, supplements, and pet stores where customers compare per-unit cost.

Only renders when unit pricing is configured on the product in Shopify. If you haven't set up unit pricing in Shopify admin, turning this on has no effect.

Show savings for product prices

Adds a savings line under the price showing how much the customer is saving on each item. Recommended on whenever you run discounts — it makes the discount feel tangible.

Product Savings Text — the savings line template. Default: (You Save {{savings}})

The {{savings}} token is automatically replaced with the actual savings amount in your store's currency. You can rewrite the template with any text:

  • You Save {{savings}}

  • Saved: {{savings}}

  • You're saving {{savings}} on this item

Make sure to include {{savings}} somewhere in the template — without it, the actual savings number won't be shown.

Product Saving Font Size (px) — default 14. Match this to your subtitle font size for visual hierarchy.

Product Saving Text Color — hex color (e.g. #616161 for dark grey). Some stores use a green tone (e.g. #1B7B3E) to emphasize the savings as a positive cue.

Tip

Most stores get the best results by keeping defaults and only adjusting two things: the title color (to match your brand) and the savings text color (to a green tone if you run discounts often). Heavy customization on every individual element rarely pays off — the defaults are tuned for readability and conversion.

Always preview after making changes. Open the cart in incognito on both desktop and mobile to verify font sizes are readable on smaller screens before saving.

Did this answer your question?