My child theme functions.php has the code below but i am still seeing the free label.
<?php
#REMOVE FREE
add_filter(‘woocommerce_free_price_html’, ‘woo_my_custom_free_message’);
function woo_my_custom_free_message() { return false;}
#REMOVE SALE
add_filter(‘woocommerce_sale_flash’, ‘woo_custom_hide_sales_flash’);
function woo_custom_hide_sales_flash(){return false;}
?>
I also tried this but it also did not work.
<?php
add_filter( ‘woocommerce_variable_free_price_html’, ‘hide_free_price_notice’ );
add_filter( ‘woocommerce_free_price_html’,’hide_free_price_notice’ );
add_filter( ‘woocommerce_variation_free_price_html’, ‘hide_free_price_notice’ );
function hide_free_price_notice( $price ) {
return ”;
}
?>