1

I want to give free shipping, when subtotal is greater or equal to 75 and country is United state.

But when the subtotal is 100 and after applying the coupon discount subtotal become less then 75, then user still able to get free shipping.

How I can create a shipping rule, so that user only receive free shipping when sub total greater then or equal to 75 after applying the discount ?

Please suggest me, thanks

1
  • Did you get solution for this? I am also facing same problem.
    – BornCoder
    Jun 20, 2017 at 5:46

1 Answer 1

0

You need to modify the collectRates method of freeshipping

For this copy Mage_Shipping_Model_Carrier_Freeshipping.php in local folder with same directory combination.

and replace this condition ::

if (($request->getFreeShipping())
    || ($request->getBaseSubtotalInclTax() >=
        $this->getConfigData('free_shipping_subtotal'))
)

With

if (($request->getFreeShipping())
    || ($request->getPackageValueWithDiscount() >=
        $this->getConfigData('free_shipping_subtotal'))
)

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.