mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 22:03:26 +08:00
【修复】修复下单页面,计算优惠券是否可用中,【订单满XX金额满足条件】计算金额异常的问题。
This commit is contained in:
@@ -705,7 +705,6 @@ namespace CoreCms.Net.Services
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
#region 根据经纬度算运费
|
#region 根据经纬度算运费
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -1086,7 +1085,7 @@ namespace CoreCms.Net.Services
|
|||||||
foreach (var product in cartProducts)
|
foreach (var product in cartProducts)
|
||||||
{
|
{
|
||||||
var money = product.products.price * product.nums;
|
var money = product.products.price * product.nums;
|
||||||
goodsAmount += Math.Round(goodsAmount + money, 2);
|
goodsAmount = Math.Round(goodsAmount + money, 2);
|
||||||
}
|
}
|
||||||
if (goodsAmount >= objMoney)
|
if (goodsAmount >= objMoney)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user