Product Archive, Product Page

WooCommerce Remove Sale Badge

Pre-Requisites

There are no pre-requisites in order for you to be able to implement this solution.

How To Implement This Solution?

Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.

About This Solution

This snippet shows you how you can remove the sale badge on both the product archive loop item (which usually appears on top of the image or just below the product title. It also removes the sale badge shown on the single product template.

/**
 * Snippet Name:	WooCommerce Remove Sale Badge
 * Snippet Author:	ecommercehints.com
 */

add_filter( 'woocommerce_sale_flash', '__return_null' );

Snippet Benefits

  • Remove the sale badge which appears on the archive loop items and single product template.

100 WooCommerce Conversion Rate Optimisation Tips

This field is for validation purposes and should be left unchanged.

Let’s collaborate!

Need to outsource WordPress development?

Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.

First Timer Here?

Sign up to receive 20% off on your first month with us.

26027
WELCOME OFFER