Created
October 17, 2016 13:49
-
-
Save andrew-smart/c7db5b04b24e77dd344919ce64ecf2f1 to your computer and use it in GitHub Desktop.
Magento 1.9.3 Free Shipping Sales Rule Fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/code/core/Mage/SalesRule/etc/config.xml b/app/code/core/Mage/SalesRule/etc/config.xml | |
index d5e7763..6a0e898 100644 | |
--- a/app/code/core/Mage/SalesRule/etc/config.xml | |
+++ b/app/code/core/Mage/SalesRule/etc/config.xml | |
@@ -134,8 +134,8 @@ | |
<totals> | |
<freeshipping> | |
<class>salesrule/quote_freeshipping</class> | |
- <after>subtotal,tax_subtotal</after> | |
- <before>shipping</before> | |
+ <after>subtotal</after> | |
+ <before>tax_subtotal,shipping</before> | |
</freeshipping> | |
<discount> | |
<class>salesrule/quote_discount</class> | |
diff --git a/app/code/core/Mage/Tax/etc/config.xml b/app/code/core/Mage/Tax/etc/config.xml | |
index 3c6b038..2ac6df7 100644 | |
--- a/app/code/core/Mage/Tax/etc/config.xml | |
+++ b/app/code/core/Mage/Tax/etc/config.xml | |
@@ -162,8 +162,8 @@ | |
<totals> | |
<tax_subtotal> | |
<class>tax/sales_total_quote_subtotal</class> | |
- <after>subtotal</after> | |
- <before>tax,discount,msrp</before> | |
+ <after>freeshipping</after> | |
+ <before>tax,discount</before> | |
</tax_subtotal> | |
<tax_shipping> | |
<class>tax/sales_total_quote_shipping</class> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment