Support – DawnThemes
  • Home
  • Portfolio
  • Support
  • Video Tutorials

Support Forums

Home/Forums/Plugins/WooCommerce Page Builder For Elementor/Replace zero price with free

Replace zero price with free

This topic is: resolved
  • February 8, 2021 at 5:05 pm #33171

    vLegion_
    Participant

    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;
    }


    Sorry, this forum is for verified users only. Please Login or Register to continue

Log In
Register Lost Password

Recent Topics

  • Some modules for WCFM are not available
  • Certains modules pour WCFM ne sont pas disponibles
  • WooCommerce Pagebuilder Plugin Install Failed
  • TICKET BOX THEME/DEMO IMPORT ASSISTANCE
  • Its not using my "Thank you" page

Knowledge Base

  • Do you provide customization service?
  • Register Envato Code
  • I can’t wait any longer! How can I quickly solve my problem?
  • How to get my Envato purchase code?
  • How to set as Private Reply over Support Forum

Recent Posts

  • Happy Lunar New Year 2021 – Holiday Break!

Featured Item

ThemeForest Items

CodeCanyon Items

Tags

#conflict avada cart cart page categories category checkout critical error CSS custom fields error Event page header images installation layout login membership menu mobile my account Page page builder page settings product product gallery product page product template refund Responsive shop page shortcode sidebar single product image Single Product Template template ticketbox Update Urgent video Viem Woocommerce WooCommerce Page Builder WPBakery wpml
© Copyright DawnThemes.com