Remove Sale Text in WooCommerce

If products are on sale, WooCommerce has built in functionally that adds a badge over the product preview. It’s helpful on a store with lots of products and a large catalog, however on a smaller site it can detract from your products and design. So sometimes you’ll want to remove sale text completely.

Here’s a snippet to remove the sale text in WooCommerce.

function rst_hide_sales_flash() {
	return false;

add_filter('woocommerce_sale_flash', 'hide_sales_flash');


Web designer and developer from Southampton, UK.

Comments are closed for this post.


Inspirational Newsletter

Join the newsletter to get the best articles, tutorials and exclusive freebies every two weeks.

No spam. You can unsubscribe at any time.