We're in trouble for a few days.

After upgrade to the latest Magento 2.3.5, we got an issue in estimate shipping calculation on the cart page. Actually shipping takes value Subtotal (Excl. Tax) for calculation but we need to apply on Subtotal (Incl. Tax).

Table Rate Import file setting: Shipping should be 0 (zero) when price greater 40

From below image shipping should be 0 (zero)

enter image description here

Please check the admin store configuration changes.

Shipping Display Setting enter image description here

Tax Calculation Setting enter image description here

Table-rate Setting enter image description here

Table-rate import file price Setting enter image description here

2 Answers 2


found this:

vendor\magento\module-tax\Model\Sales\Total\Quote\CommonTaxCollector.php Line 596FF

$address = $shippingAssignment->getShipping()->getAddress();







Hope it will work for you.

  • Thanks for your comment! Actually, this functionality was working before upgrade to the latest Magento 2.3.5. and after an upgrade, I'm getting an issue and as per your comment, I will need to change vendor Magento tax module core file? So Is this bug from Magento when upgraded to 2.3.5? Commented Jul 16, 2020 at 12:36

When table-rates looks at the price it always looks at the tax-exclusive price and ignores promotional discounts as well.

Even though if the client wants to calculate based on subtotal with inclusive tax,

create plugin here, Class \Magento\Quote\Model\Quote\Address method: requestShippingRates

Manipulate the value of $request->setPackageValue($item ? $item->getBaseRowTotal() : $this->getBaseSubtotal());


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.