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

本文介绍了 Magento 销售模块配置文件中的一项修改,具体涉及购物车地址总额计算顺序的调整,新增了 MSRP(建议零售价)作为计算项。
 1 diff --git app/code/core/Mage/Sales/etc/config.xml 2 index 5bb43d7..7db62ca 100644
 3 --- app/code/core/Mage/Sales/etc/config.xml
 4 +++ app/code/core/Mage/Sales/etc/config.xml
 5 @@ -1218,7 +1218,7 @@
 6                      </subtotal>
 7                      <shipping>
 8                          <class>sales/quote_address_total_shipping</class>
 9 -                        <after>subtotal,freeshipping,tax_subtotal</after>
10 +                        <after>subtotal,freeshipping,tax_subtotal,msrp</after>
11                          <before>grand_total</before>
12                      </shipping>
13                      <grand_total>
14 @@ -1227,6 +1227,7 @@
15                      </grand_total>
16                      <msrp>
17                          <class>sales/quote_address_total_msrp</class>
18 +                        <before>grand_total</before>
19                      </msrp>
20                  </totals>
21                  <nominal_totals>

 

转载于:https://www.cnblogs.com/pa200318/p/6288734.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值