Change the Sale badge text in WooCommerce

Learn how to tweak and customize the sale badge in your WooCommerce store with a premium plugin or a free a little PHP snippet.

Don’t you like the Sale badge that WooCommerce prints on your products on sale?

You can quickly change the text if you want, or show the percentage saved on the purchase instead of a static text.

To show the percentage, i suggest the extension Sale Flash Pro, to change instead the text you can use a little snippet.


Open your functions.php file located in wp-content/themes/your-theme-name/ and add this code at the end of it:

Data di pubblicazione: 15 May 2023


Lascia il tuo primo commento!

Inserisci il tuo commento