diff --git a/smart-send-logistics/includes/class-ss-shipping-wc-method.php b/smart-send-logistics/includes/class-ss-shipping-wc-method.php index 0c4ae3a..755e5b0 100644 --- a/smart-send-logistics/includes/class-ss-shipping-wc-method.php +++ b/smart-send-logistics/includes/class-ss-shipping-wc-method.php @@ -1135,7 +1135,7 @@ public function is_free_shipping($package) if (in_array($requires, array('min_amount', 'either', 'both'))) { $total = WC()->cart->get_displayed_subtotal(); - if ('incl' === WC()->cart->tax_display_cart) { + if ('incl' === WC()->cart->get_tax_price_display_mode()) { $total = round($total - (WC()->cart->get_cart_discount_total() + WC()->cart->get_cart_discount_tax_total()), wc_get_price_decimals()); } else {