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 Cart Settings
  3. Locate Show Compare-at Price Savings in Footer Total
  4. Enable or disable the setting based on your preference

When enabled

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

Example

Product A: Compare-at price 100,Currentprice100, Current price 80 (20% off)
Product B: Compare-at price 50,Currentprice50, Current price 40 (20% off)
Discount code applied: -$10
Savings breakdown:
  • Product A: 100100 - 80 = $20
  • Product B: 5050 - 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.