Learn how to create a badges with products discounts.
In this article, we will cover how to create custom WooCommerce sale badges using the Advanced Woo Label plugin. These badges can display the discounted amount or percentage directly on your products, helping you create more engaging and informative labels for your customers.
In a previous article, we explained how to create a basic WooCommerce sale label for products that are on sale. Now, we’ll go a step further and show you how to use a powerful WooCommerce sale badge plugin to not only highlight discounted items but also show the exact discount value — whether it’s a fixed amount or a percentage.
Example of badge with discount amount
Example of badge with discount percentage
Let’s start by creating a discount badge for WooCommerce products that shows the amount saved, like $10 off
or Save $20!
.
Badge with discount amount
Use this display rule:
Product is on sale -> equal to -> Yes
Label display conditions
For example, if you want to show Save {amount}!
, enter the following text into the Label text field:
Save {SYMBOL}{SAVE_AMOUNT|2}!
Label text option
Here, {SYMBOL}
and {SAVE_AMOUNT|2}
are special text variables that will dynamically show the currency symbol and the discount value for each WooCommerce product.
Label style option
Now let’s create a WooCommerce sale badge percentage style label, such as 10% off
or Save 20%!
.
Badge with discount percentage
Use the following rule:
Product is on sale -> equal to -> Yes
Label display conditions
For example, to show Save 20%!
, enter the following into the Label text field:
Save {SAVE_PERCENT}%!
Label text option
The variable {SAVE_PERCENT}
will dynamically display the discount percentage for each WooCommerce product on sale.
Label style option