Skip to main content

Pricing display in the cart

Compare-at prices, savings, and unit pricing inside the cart drawer.

A
Written by Aditya Singh

Compare-at price

Shows a strikethrough original next to the discounted price. Only renders when Shopify has a real compare_at_price higher than the current price β€” empty values are ignored, so you won't accidentally show a strikethrough on undiscounted products.

Line savings

Per-item savings text β€” e.g. "You saved $5". Renders below the line price.

Total savings

Cart-wide savings summary near the checkout area β€” e.g. "Total savings: $12". Combines all line discounts plus active reward tiers.

Unit price

Unit pricing like $0.50 / oz. Common for grocery, beauty, and pet stores. Only renders when unit pricing is set on the product in Shopify; if it's not configured there, this toggle has no effect.

Where to find these

Cart Editor β†’ Cart Item & Settings.

Did this answer your question?