Displaying the total savings can be a great motivation for the customer to make the final decision to follow through with their purchase. Who doesn’t like to saving on their order?! The downside is that WooCommerce is not very good in communicating this to the customer. In this post you’ll find different ways of displaying the savings to the customer, hopefully helping increase your conversion rate.

Showing Savings on the Cart Page

First let’s take a look at the cart page. Products that are on sale are displaying their sale price on the cart. The regular price, an indication of a saving or discount is nowhere to be found. In the screenshot below you don’t don’t even know that the ‘Belt’ product is $10 normally, but its on sale for only $5 now!

My first suggestion to improve this is to show the prices on the cart the same way as they are on the product page. The regular price with a strikethrough with the sale price besides it.

This will make it a lot more clear how the customer is saving on their purchase.

To accomplish this effect, use the code snippet below to modify the products table on the cart and checkout pages.

With this in place it doesn’t add too much to the cart, but does make a big impact to the customer to see they are getting a good deal!

‘Price’ Column Sale Price

With the previous code snippet it modifies the ‘Subtotal’ column to include the regular price with a strikethrough as with the sale price next to it. If you also want the same for the ‘Price’ column the code snippet below can be used.

Which gives the following result.

I’d say this is already a pretty good improvement on its own, wouldn’t you say so?

Showing Total Savings

Now the customer sees the individual sale prices in the products table. This already works great on its own, but when there are multiple products that are on sale it would also be nice to see the total savings. This would be best fitting below the products table, or in the order totals table.

The code snippet below will display the total cart savings based on the sale prices of the products. Note that this does not take in account any coupon codes as these are listed separately already.

About the author: Jeroen Sormani is actively building WordPress, WooCommerce and Easy Digital Downloads plugins. Slightly obsessed by writing high quality code.
Follow Jeroen on Twitter

2 comments

  1. hi! please help!

    How to add different types of discounts within the total amount of discounts in the cart?

    1. Hi Sara,

      What kinds of different types of discounts would you be looking for with this? Can you provide an example?

      Cheers,
      Jeroen

Leave a Reply

Your email address will not be published. Required fields are marked *