Is there a way to set free shipping in tablerates for a Total inkl. Tax? The problem is tablerates are using the subtotal without tax but i need it including tax. Because we use two different taxes, we can´t just calculate the price without tax.
I want to set free-shipping in my tablerates .csv for a Total of 19€ including tax. How is this possible?
Best Answer
You can add new Condition in Table Rates for Price incl. Tax vs. Destination. In order to do that in
app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php
->public function getCode
below this line:add this code:
and below this:
add this:
This to be able to work you have to add in
app/code/core/Mage/Shipping/Model/Shipping.php
->public function collectRatesByAddress
below:this:
and in
app/code/core/Mage/Sales/Model/Quote/Address.php
->public function requestShippingRates
below:this: