• Resolved metropub

    (@metropub)


    Hi there,

    Trying out the PPOM plugin …

    ‘Call for price’ type text will not show when the Woocommerce product price field is blank and the PPOM for Woocommerce plugin is activated. If the PPOM plugin is deactivated all is OK, even if other plugins are activated deactivated.

    The Woocommerce product field is blank, the latest versions of WordPress, Woocommerce, PPOM, and Divi theme installed.

    Function.php …

    // Call for price
    add_filter(‘woocommerce_empty_price_html’, ‘custom_call_for_price’);
    function custom_call_for_price() {
    $html .= ‘Contact us for price’;
    return $html;
    }

    Any ideas?

    Thanks.

    GRN

Viewing 1 replies (of 1 total)
  • Hi @metropub,

    when Price is nulled, WC does not render cart form and PPOM fields are rendered within cart form. So, put price as ‘0’ instead null.

Viewing 1 replies (of 1 total)
  • The topic ‘‘Call for price’ type text does not show with PPOM activated’ is closed to new replies.