magento1.x 运行在 php7 优惠券的问题

时间:2023-03-08 17:35:19
magento1.x 运行在 php7 优惠券的问题
 diff --git app/code/core/Mage/Sales/etc/config.xml index 5bb43d7..7db62ca 100644
--- app/code/core/Mage/Sales/etc/config.xml
+++ app/code/core/Mage/Sales/etc/config.xml
@@ -1218,7 +1218,7 @@
</subtotal>
<shipping>
<class>sales/quote_address_total_shipping</class>
- <after>subtotal,freeshipping,tax_subtotal</after>
+ <after>subtotal,freeshipping,tax_subtotal,msrp</after>
<before>grand_total</before>
</shipping>
<grand_total>
@@ -1227,6 +1227,7 @@
</grand_total>
<msrp>
<class>sales/quote_address_total_msrp</class>
+ <before>grand_total</before>
</msrp>
</totals>
<nominal_totals>