Skip to main content
This article explains how savings are calculated and displayed in the cart footer when compare-at prices are enabled.

Overview

Upcart can display total savings in the cart footer by combining:
  • Product savings from compare-at prices
  • Discount codes applied to the cart
This allows customers to clearly see how much they are saving before checkout.

How to use

  1. Open the Upcart editor
  2. Go to Settings > Cart settings
  3. Expand Advanced Settings — the checkbox is inside that collapsed section, not on the Cart settings tab itself
  4. Enable or disable Show compare-at price savings in footer total
This setting applies to the newer cart summary module. Stores that installed Upcart before that module shipped may still be on the earlier one, where the savings row always shows discount-code savings only and the setting has no visible effect. If you enable it and nothing changes, contact support to check which version your cart is on.

When enabled

The savings row includes both:
  • Compare-at price savings
  • Discount code savings

Example

Product A: Compare-at price $100, Current price $80 (20% off)
Product B: Compare-at price $50, Current price $40 (20% off)
Discount code applied: -$10
Savings breakdown:
  • Product A: $100 - $80 = $20
  • Product B: $50 - $40 = $10
  • Discount code: $10
With this setting enabled, the savings row shows:
Save $40 ((100 - 80) + (50 - 40) + 10)

When disabled

The savings row only includes discount code savings. Using the same example: With this setting disabled, the savings row shows:
Save $10 (discount code only)

Why this happens

Compare-at price savings are calculated as the difference between the original price and the current price. When this setting is enabled, Upcart adds these product-level savings to any discount codes applied to the cart. When this setting is disabled, only discount codes are included in the savings total shown in the footer.