Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpnetworkit

    (@wpnetworkit)

    Hello @mgason ,

    The plugin WooCommerce Discount Price is designed for working with a standard WordPress WooCommerce installation.

    If there are other plugins or themes that customize the workflow or the standard WooCommerce templates there are new variables and values, so it becomes impossible to guarantee the result.

    Kind Regards
    _______________
    WPNetwork.it

    Hi. To resolve Warning – Add row after line 19:

    if (empty($sale_price) || !is_numeric($sale_price)) $sale_price = $regular_price;

    P.S. Author please update Plugin.

    Plugin Author wpnetworkit

    (@wpnetworkit)

    Hi @mgason ,

    Thanks for your suggestion @marsx3.

    It was added a little different one at row 17 in inc/display_total.php file:

    if ( $_product->is_on_sale() && !empty($_product->get_sale_price()) && is_numeric($_product->get_sale_price() ) )

    The plugin has been updated right now for WC 5.5 compatibility

    Kind Regards,
    _____________
    Support Team
    WPNetwork.it

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Discount total wrong at checkout and a error message’ is closed to new replies.