| | |
| | | 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.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.distributionCutMoney = o.distributionCutMoney; |
| | | item.mktPrice = o.mktprice; |
| | | item.selPrice = o.price; |
| | | item.isCustomizable = o.isCustomizable; |
| | | if (type == GlobalEnumVars.OrderType.PinTuan.ToString().ToLowerInvariant()) |
| | | { |
| | | if (isMaxPinTuanGoodsNums) |