
Display discount price on cart page and checkout page
This plugin display discount price and regular price on cart page and checkout page also it display total saving on cart total and checkout total.
- Display discount price on cart price column
- Display discount price on cart sub total column
- Display saved amount row in cart total
- Display discount price on checkout sub total column
- Display saved amount row in checkout total
Screenshots

The saving under the totals on the Cart block.

The saving on the Checkout block.

The classic cart, with the old price beside the sale price and the saving row.

The settings page.
FAQ
How do I show how much a customer saved in WooCommerce?
Activate the plugin. A “You saved” row appears under the totals on the cart and the checkout, with the total discount across everything in the basket. You can change the wording under WooCommerce, then Discount Price.
Does it work with the Cart and Checkout blocks?
Yes. The saving is added to both the blocks and the old shortcode pages. The figure comes from the Store API, so it matches what your shop charges.
Does the saving include coupons?
That is your choice. By default a coupon counts towards the saving, so a customer who used a code sees the full amount they saved. You can switch it to sale prices only.
Why does my cart already show the old price, but no total saving?
WooCommerce shows the old price per item in the blocks, and a “Save” badge beside it, but it does not add up the saving across the basket. That total is what this plugin adds.
Does the customer see the saving after they have paid?
Yes, if you want them to. The saving appears on the order confirmation, under My Account and in the order email. It is saved onto the order at the moment of purchase, so it stays right even after the sale ends.
Can I show the saving as a percentage?
Yes. Switch on the percentage and the row reads “You saved $80.00 (40%)”. The percentage is worked out against what the basket would have cost at the old prices.
Can I put the saving somewhere else on my site?
Use the [ecdrp_saved] shortcode. It prints the current saving, and takes your own wording, for example [ecdrp_saved label="Total savings"].
Does it work with variable products and sale schedules?
Yes. The saving uses the price WooCommerce is charging for each item, so scheduled sales, variable products and prices set by other plugins are all counted correctly.
Does it slow down my shop?
No. The saving is worked out from the cart that WooCommerce has already loaded, with no extra database queries, and the script on the blocks only renders the row.
ChangeLog
1.1.0
- Added support for the WooCommerce Cart and Checkout blocks, which earlier versions did not show anything on.
- The saving now carries on to the order confirmation, My Account and the customer email, stored on the order so it stays accurate.
- Added an optional percentage, a smallest saving worth showing, a cart notice, the classic mini cart, and the [ecdrp_saved] shortcode.
- Added a total saving row, with your own wording, and the choice of whether coupons count towards it.
- Settings are now saved through a form that checks both the nonce and the user’s capability. The previous version saved over AJAX without either, so any signed in user could change them.
- Settings moved under the WooCommerce menu, and settings from version 1.0.0 are carried over automatically.
- Rewritten for current WooCommerce: High Performance Order Storage, the Cart and Checkout blocks, and the modern cart and price functions.
- Renamed, since the previous name began with another company’s trademark.
- Requires PHP 7.2 and WordPress 5.9.
1.0.0