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)
Please check the admin store configuration changes.
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 MagentoQuoteModelQuoteAddress method: requestShippingRates
Manipulate the value of $request->setPackageValue($item ? $item->getBaseRowTotal() : $this->getBaseSubtotal());
Answered by Kaushik Chavda on October 2, 2021
vendormagentomodule-taxModelSalesTotalQuoteCommonTaxCollector.php Line 596FF
$address = $shippingAssignment->getShipping()->getAddress();
Hope it will work for you.
Answered by KHIMAJI VALUKIYA on October 2, 2021
Get help from others!