Timeline for How to enable free shipping for particular quote even if it is disabled from admin?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 12, 2016 at 11:16 | comment | added | Piyush | Thank You Michael , I Created a custom shipping method to meet the requirements. | |
May 12, 2016 at 11:15 | vote | accept | Piyush | ||
May 12, 2016 at 9:54 | comment | added | luemic | Please let me know if there's some confusion left or mark this issue as solved. Thanks. | |
May 11, 2016 at 11:09 | comment | added | luemic |
In Mage_Shipping_Model_Shipping the first if condition is extended: if (($carrierCode == 'freeshipping' && $customCondition) ||.. which ignores the active flag if your custom condition is met. The same is applied to Mage_Shipping_Model_Carrier_Freeshipping in the first if if (!$customCondition &&.. which ignores the active flag if your custom condition is met. Please note that you need to implement the calculation of the condition for yourself, but that's another question.
|
|
May 11, 2016 at 9:37 | comment | added | Piyush | Can You please explain what changes I have to made in rewrite files? | |
May 11, 2016 at 8:01 | history | answered | luemic | CC BY-SA 3.0 |