Christmas Celebration SALE! 50% Discount!     Buy Now

How to remove the sale badge from all pages in woocommerce?

By

In Default Woocommerce the Sale !! badge is available that we can use wherever we want.

To remove the Sale Badge from everywhere of the woocommerce.

Put this code into functions.php.,


remove_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_show_product_loop_sale_flash', 10 );
remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_sale_flash', 10 );

Finally, Easy going.

Tagged under:

Show Buttons
Hide Buttons