This topic is: resolved
-
Hi Team,
I did have my price set to replace 0.00 with free but now that I have your plugin it appears to have changed that.How can I get it to change this again.
Previous code is this:
add_filter( ‘woocommerce_get_price_html’, ‘bbloomer_price_free_zero_empty’, 9999, 2 );
function bbloomer_price_free_zero_empty( $price, $product ){
if ( ” === $product->get_price() || 0 == $product->get_price() ) {
$price = ‘FREE‘;
}
return $price;
}