| | |
| | | if (product == null) return null; |
| | | |
| | | good.skuList = await GetCoreCmsProductsView(good, products, userId, isPromotion, type, groupId); |
| | | var coutiscut = products.Where(x => x.isCustomizable == true).Count(); |
| | | if (coutiscut > 0) |
| | | good.isCustomizable = true; |
| | | } |
| | | else |
| | | { |
| | |
| | | item.price = o.distributionPrice; |
| | | item.sku_name_arr = o.spesDesc.Split(",").Select(s => s.Split(":")[1]).ToList(); |
| | | item.stock = o.stock; |
| | | item.cutMoney = o.cutMoney; |
| | | item.distributionCutMoney = o.distributionCutMoney; |
| | | item.mktPrice = o.mktprice; |
| | | item.selPrice = o.price; |
| | | item.isCustomizable = o.isCustomizable; |
| | | if (type == GlobalEnumVars.OrderType.PinTuan.ToString().ToLowerInvariant()) |
| | | { |
| | | if (isMaxPinTuanGoodsNums) |
| | |
| | | //item.price = o.price - gradePrice; //减去会员等级价格 |
| | | item.sku_name_arr = new List<string> { "默认" }; |
| | | item.stock = o.stock; |
| | | item.cutMoney = o.cutMoney; |
| | | item.distributionCutMoney = o.distributionCutMoney; |
| | | item.mktPrice = o.mktprice; |
| | | item.selPrice = o.price; |
| | | item.isCustomizable = o.isCustomizable; |
| | | if (type == GlobalEnumVars.OrderType.PinTuan.ToString().ToLowerInvariant()) |
| | | { |
| | | if (isMaxPinTuanGoodsNums) |