Published under WooCommerce
Last updated on

How to Display Discounts on WooCommerce Product and Cart Page

Displaying discount information is a way of promoting your WooCommerce store by announcing the available discounts to your visitors.

In this article, we are going to discuss various methods of displaying discount information on the product and cart page such as display bulk discount table on the product page, WooCommerce show percentage discount on the product page, as simple discount information, display sale products using a discount badge, show strikeout regular price and display sale price, by displaying the discount applied on the cart page, by displaying the amount saved after purchase.

We will go through a step by step process of settings to display discount information through various methods.

Why display WooCommerce discounts on the product and cart page?

Your visitors will be aware of the available discounts from your WooCommerce store through the strategy of displaying discounts both on the product and cart page. The methodology to show the discount price on the Woocommerce product page could bring great conversions to your store and also increases the click-through rates. It acts as an eye-catchy factor for your customers/visitors and would drive more revenue to your store.

Through this strategy, WooCommerce shows percentage discounts you can easily navigate your visitors to their required destinations. This also gives in hand to develop a smooth checkout process at your WooCommerce store.

Methods to display discounted products in a WooCommerce store

The technique of displaying discounted products or prices on a WooCommerce store can be implemented using custom codes, specialized plugins, or even can be operated through themes customization. If you are good at programming then you can implement by referring to some of the available custom codes in the market.

Many third-party plugins can be utilized in configuring the required settings through which it can be achieved in a few clicks. WooCommerce product discounts can also be displayed through your store’s theme customization.

Your guide to show WooCommerce discounts

All the following are different ways of displaying your WooCommerce store’s discounts to your visitors

What are the benefits of displaying WooCommerce discounts on the product page?

Different ways to show WooCommerce discounts

  • Display bulk discount table on product page
  • Display a simple WooCommerce discount information
  • Show the discount price/strikeout price on the WooCommerce product/cart page
  • Display discount as a sale badge
  • Show the discount message in the cart
  • Display “You Saved” message in the WooCommerce cart
  • Change the discount name in the cart

How to troubleshoot if the WooCommerce discount information isn’t displayed properly?

FAQs - Show WooCommerce discounts

What are the benefits of displaying WooCommerce discounts on the product page?

When the WooCommerce discounts are displayed on the product page it would bring great benefits to your store. When the WooCommerce show percentage and product discounts it would urge the visitors of your website to purchase from you and it may bring large conversions.

When WooCommerce displays sale products on the product page it looks like your store has been updated with the modernized trend. This strategy would also help you to gain more customer engagement and conversion optimization flow can be adapted easily.

Different ways to show WooCommerce discounts

The following are some of the common ways to display WooCommerce discounts both on the product and cart page. The discounts that are displayed on the product page are respective with the price discount rules and the cart page is in respect to the cart discount rules. These are easily possible with the best discount plugin “Discount Rules for WooCommerce”.

Let us install the discount plugin with the below navigation in order to show the discount information,

Step 1: Login into your WordPress Dashboard and go to the Plugins section.

1 add new plugin

Step 2: Click on the “Add New” button

Step 3: Search for the plugin “Discount Rules for WooCommerce”

2 install plugin

Step 4: Install and activate the plugin

If you have already installed the plugin make sure to update it to the latest version.

Display bulk discount table on the product page

This strategy is to display all the available discounts on the product page in the form of a table. It can also be used to display a bulk discount table on the product page.

To enable this view,

Go to Woo Discount Rules -> Settings --> Show Discount table --> Yes.

3 disocunt table

Here is the screenshot of how it looks on the product page,

4 discount table productpage

It clearly displays all the available discounts on the product in the form of a table. When it comes to a variable price product, the WooCommerce price range is also displayed along with the discount table.

You can also disable the discount table by simply enabling the “No” button on the settings page.

If you want to customize the discount table, on the same settings page, you can click on the Customise Discount table and you can see a table where you can choose to hide the title column.

5 customize discount table

You can change or translate or customize the look and feel of the discount table that shows up on the product pages. You can choose to change the texts and title by directly adding the content.

You can show the Discounted Price by simply enabling the option in “Discount Column Value on table”.

Display a Discount Bar

This strategy is to display a discount bar anywhere on the product page. The discount bar can be enabled while creating a discount rule.

While creating the discount rule, you can find this option to customize your discount badge at the end of every rule ->

6 discount bar

Show discount Bar: You can enable or disable the discount bar for each of the rules you create.

Badge Background color and Text color:

Choose the background and the text color to customize your discount bar.

Once selected, you can view the preview of the badge on the left.

Badge Text:

Add your own texts that you want to show on the product pages.

You can use shortcode:

{{title}} -> To get the rule title

{{discount}} -> Discount (if percentage eg: 10% or Flat, Fixed Price eg:$10),

{{discounted_price}} -> Discounted Product Price.

To choose which position the discount bar to be displayed,

Navigate to Settings tab (of WooCommerce Discount Rule) -> Product -> Position to show discount bar

7 display position

You can choose from the various position displays of the product page here

WooCommerce before add to cart form

WooCommerce product meta end

WooCommerce product meta start

WooCommerce after add to cart form

WooCommerce after single product

WooCommerce before single product

WooCommerce after single product summary

WooCommerce before single product summary

Display Position of Woocommerce before add to cart form,

8 discount bar output

This displays the discount information on the product page in a simple and advanced way.

Show the strikeout price on the WooCommerce product/cart page

This setting is to display the discounted price on the product page and to display the crossed-out price on the required pages.

Below is the configuration to display the strikeout price.

Go to Woo Discount Rules -> Settings --> Product Section -> Show Strikeout price,

9 strikeout price

Our plugin enables Strike out with a discounted price based on three options.

Show when a rule condition is matched: This condition displays a strikeout on the product price when a discount is matching the cart quantities. It displays the strikeout price when the cart has not met the condition indicating that there is a discount.

Show after a rule condition is matched: This displays a strikeout only when the quantity discount exactly matches the cart.

Show on quantity update (Dynamic): In the product pages, when the customer increases the quantity to 2, you may want the discount applied and reflected on the price. That would encourage the customers to buy more.

Here is the screenshot of how it looks when the option “Show when a rule condition is matched” is selected,

10 rule condition matched

You can also choose on which pages the strikeout prices should be displayed. You can choose between the shop page/category page and product pages in the product section of the settings tab.

Note: you also have the option to display the strikeout price on the cart page. Simply enable the “Strikeout Price on Cart” in the cart section of the settings tab.

Display discount as a sale badge

This setting is to enable a sale badge on the product page. Let us see how it can be enabled using the “Discount Rules for WooCommerce” plugin.

WooCommerce shows a Sale badge (a.k.a, Sale tag), when your product has both

  • Regular Price
  • Sale Price

To enable this option,

Go to WooCommerce -> Woo Discount Rules -> Settings -> Product Section.

11 sale badge

You can display a sale badge under two options,

Show only after a rule condition is matched exactly - The sale badge will be enabled only when the discount rule matches.

Show on products that are covered under any discount rule in the plugin - The sale badges will be displayed irrespective of the price discount rule applied.

If you want to disable the sale badge the choose “Do not show” option from the drop-down.

You can customize the “text” on the SALE badge and also force override the label with the below settings,

12 customize sale badge

Here is the screenshot of how it looks in the product page,

13 product page sale badge

The WooCommerce displays sale products with a badge on the product page as per the selected option from the drop-down.

Show the discount message in the cart

The discount messages can be displayed both for price discount rules and cart rule.

Let us see the settings that are to be enabled when you want to display a discount message for a price rule,

Go to Woo Discount Rules -> Settings -> Promotion section.

Configure the below settings to display the message,

14 display cartmessage

Shortcodes used in the text box,

{{title}} - this element displays the rule name.

Here, rule name has been used to display the discount message, the code to be written is,

<strong>"{{title}}"</strong> has been applied to your cart.

Let us see the cart page for a price discount rule,

15 cart page message

As the setting is enabled the discount message is displayed once the price discount rule has been applied.

Display “You Saved” message in the WooCommerce cart

This configuration is enabled to display the discounted amount on the cart page.

Navigate to Woo discount rules --> Settings --> Promotion section,

16 you saved

The message can be displayed in three different positions on the cart page and this can be chosen from the drop-down list.

It can be shown in either

  • On each line item
  • On after total
  • Both in each line item and after total

Screenshot of how it looks in each line item,

17 each line item

Screenshot of how it looks after total,

18 after total

Screenshot of how it looks in both in the line item and after total,

19 both

While you edit the message "You saved:" Make sure to only modify that text message

Do not make any changes to this shortcode --> {{total_discount_price}}. The message will be displayed only for price discount rules.

Change the discount name in the cart

This setting is to display a discount name whenever discount rules are created. With this configuration, you can set different names with respect to the discount rule.

Whenever a discount rule is created in the Rule Page the discount can be labeled in the “Discount” section as illustrated below,

20 change name

Here is the screenshot of how it looks on the cart page with respect to the cart discount rule that has been applied.

21 change name output

The discount name on the cart page (storefront).

These are some of the common strategies that can be implemented in WooCommerce to display the special offers in your store.

How to display a promotion message to indicate the upcoming discounts?

This configuration can be set if you want to display a promotion message to indicate the upcoming discounts. This configuration is applicable only for Subtotal based discounts Let us get in detail with an example.

Example:
20% discount when the subtotal reaches $500

The below steps are to be followed to display the promotion message,

  • Step1 - Enable Promotion Message
  • Step2 - Create Subtotal based discount rule
  • Step3 - Customize your message

Step1 - Enable promotion message:

Navigate to Woo Discount rules -> Settings->Promotion section,

22 promotion message

The promotion message can be displayed on the cart/product/shop/checkout pages in each rule(when a subtotal condition is added)

Step2 - Create a discount rule with subtotal configuration

Navigate to WooCommerce -> Woo Discount Rules -> Add New Rule,

23 discount rule

Configure the discount rule with the subtotal condition.

Step3 - Customize your message

Customize the promotion message in the “Rules” section on the Rule page as illustrated below,

24 promotion message customization

Enter the threshold value from when the promotion message has to be displayed. You can also enter any description as the message along with the shortcode. In this example,

The threshold value is - 400 and Message - Spend {{difference_amount}} and more to get a discount of 20%.

Below are the screenshots when the cart reaches 400

Here is the screenshot of the cart page,

25 cart page

Here is the screenshot of the product page,

26 product page

Similarly, the promotion message will be displayed on the shop page and the checkout page if chosen.

How to troubleshoot if the WooCommerce discount information isn’t displayed properly?

If you find that WooCommerce discount information is not displayed as expected, then check if the configurations are set properly as needed. Additionally, make sure that WordPress and WooCommerce are updated with its latest version. This could surely troubleshoot the problems you face while configuring WooCommerce special offers for your store.

If the problem continues further, contact the support team of the respective plugin to seek their help and make your WooCommerce store enjoy the benefits of displaying the discount information.

The strategy of displaying WooCommerce discount information will surely be a backbone for your store’s achievements. Give a try on all the configurations that have been discussed, gain more traffic and conversions to your WooCommerce store.

Wishing you Good Luck.

FAQs - Show WooCommerce discounts

WooCommerce shows percentage discounts are to promote your store by displaying all the available discounts through different methods. It can also be meant as an effective way of marketing your WooCommerce store.

WooCommerce display sale products using a sale badge on your shop page.
Sales price can be displayed by various strategies, it can be displayed as a simple piece of discount information, in the form of a discounted price or even in the form of a table with all the available discounts on that product. All these can be displayed very clearly on the product page of your store.

WooCommerce discounts can be displayed effectively with different configurations that would drive more conversions for your store. Some of the common methods to display discounts are
  • Display bulk discount table on product page
  • Display a simple WooCommerce discount information
  • Show the discount price/strikeout price on the WooCommerce product/cart page
  • Display discount as a sale badge
  • Show the discount message in the cart
  • Display “You Saved” message in the WooCommerce cart
  • Change the discount name that has been applied in the cart.

If you are good at programming then, WooCommerce percentage discounts can be displayed used shortcodes. It can also be configured using suitable WooCommerce plugins. Choose the best way to show the discount information and bring in great results to your WooCommerce store.

If you don’t wish to display the discount table on the product page you can easily hide it by choosing the “Disable” option from the configuration. The below navigation will surely help you to do the necessary.
Woo Discount Rules -> Settings -> Price Rules -> Offer table-> Disabled.