Let us see what is a Sale tag and how to enable it with our Discount Rules Plugin.

What is a Sale Tag?

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

  • Regular Price
  • Sale Price

In the above image,

  • Regular Price is $10
  • Sale Price is $5

As you can see, the Sale price is lower than the Regular price. So WooCommerce treats this product as on SALE!. It shows a SALE badge on top of the product image.

How to enable Sale Badge in WooCommerce Discount Rules

Please go WooCommerce -> Woo Discount Rules -> Settings -> Product Section.

You can enable sale badge based on two options :
Select your desired option and click on Save.

The two options are :

Show only after a rule condition is matched exactly :

The sale badge will be enabled only when the condition matches.
Let's see it with an example :
You have created a discount rule for Buy 5 or more cap, get 10% off.
Now, the sale badge will be displayed only when the cart contains 4+ quantities.

Show on products that are covered under any price based discount rule :

The sale badge will be displayed irrespective of the condition being matched or not.
Let's see with the same example :
You have created a discount rule for Buy 5 or more cap, get 10% off.
Now, the sale badge will be displayed right away even if there are no products in the cart.

Customize Sale Tag/Badge

You have the option to customize the "text" on the SALE! Badge.

The default style supported by WooCommerce is

<span class="onsale">Sale!</span>

You are however free to change the text

Example:

<span class="onsale">OFFER!</span>

or even add an HTML snippet for more advanced customization.

IMPORTANT!: Change/customize the HTML elements only you know what you are doing.

My storefront used to have the discount shown on the Sale badge. Why I could not do that now?

The Sale Badge is usually a static text. WooCommerce by default only displays a static text: Sale!
However, some theme authors customize this text within their themes to show a discount percentage or amount.

This is achieved by them through the following calculation

Regular Price - Sale Price = Discount Amount (or a percentage)

However, when using a dynamic pricing plugin like Woo Discount Rules, the discount is based on the rules.

An Example Scenario:

Buy 5 or more products, get 5% off.

In this case, the 5% discount is eligible ONLY when a customer adds 5 quantities to the cart.

But if we show a Sale Badge with a 5% discount on it, the customer will MISUNDERSTAND and will look forward to getting a 5% discount even when he purchases 1 quantity. But that is not the condition.
If you tell your customer you are NOT eligible for the discount for 1 quantity, you will disappoint your customer and lose the sale :-(

That is the reason why we do not display a discount percentage or amount inside the Sale badge. Our plugin will just show the default Sale badge text (Sale!).

Does your theme also have an override? Do you wish to force override the label?
This can be done from our settings page :

Still Unclear?
Please submit a support request.
We are always happy to assist you :)

Did this answer your question?