Get a fast, conversion-focused WooCommerce theme in 2024. Switch to Shoptimizer.

Home Documentation Shoptimizer Display sale price on the cart page

Display sale price on the cart page

Ordinarily, WooCommerce does not display the sale price on the cart page for some reason. It does do so on the checkout page.

To display this in Shoptimizer, it’s a two step process.

First, add the following function to your child theme’s functions.php file, or via the Code Snippets plugin. Thanks to Business Bloomer for this tip.

Next, add the following CSS snippet – either in your child theme’s style.css file, or via:

Appearance > Customize > Additional CSS.

Success!

The discount has been applied. You will see it when you checkout.

There has been a problem

Unfortunately this discount cannot be applied to your cart.

$50
Off

Do you want a whopping $50 off Shoptimizer for WooCommerce?

Click the button below to get Shoptimizer for only $49. (Regular price: $99).
This is a special launch offer for today only.
Get it before it is gone!