diff --git a/TradeManageNew/DD_OrderServiceNew.asmx.cs b/TradeManageNew/DD_OrderServiceNew.asmx.cs index cadacad..9c8748a 100644 --- a/TradeManageNew/DD_OrderServiceNew.asmx.cs +++ b/TradeManageNew/DD_OrderServiceNew.asmx.cs @@ -28906,6 +28906,7 @@ namespace TradeManageNew try { + var imageUrls = JsonConvert.DeserializeObject>(orderUsedSalePlatform.ImageUrls); //在Shopify创建产品变体信息 var createShopifyVariantParameter = new AddVariantRequest { @@ -28924,7 +28925,15 @@ namespace TradeManageNew Variants = new Variants { Return_quantity = 1, - StoreName = orderUsedSalePlatform.WarehouseLocation.ToString(), + ImgUrl = imageUrls.Length > 0 ? imageUrls[0] : null, + ImgUrl2 = imageUrls.Length > 0 ? imageUrls[0] : null, + ImgUrl3 = imageUrls.Length > 0 ? imageUrls[0] : null, + ImgUrl4 = imageUrls.Length > 0 ? imageUrls[0] : null, + ImgUrl5 = imageUrls.Length > 0 ? imageUrls[0] : null, + StoreName = orderUsedSalePlatform.WarehouseLocation == + TradeUsedSale.Enums.WarehouseLocation.East + ? "E" + : "W", Code = orderUsedSalePlatform.BarCode, }, };