aa
This commit is contained in:
@@ -249,6 +249,9 @@ func (p *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo
|
||||
VendorPrice: jxutils.StandardPrice2Int(utils.MustInterface2Float64(product["price"])),
|
||||
SalePrice: jxutils.StandardPrice2Int(utils.MustInterface2Float64(product["price"])),
|
||||
}
|
||||
if product["upc"] != nil && product["upc"].(string) != "" {
|
||||
sku.Upc = product["upc"].(string)
|
||||
}
|
||||
if sku.VendorSkuID == "" {
|
||||
if !strings.Contains(product["app_food_code"].(string), "mtcode") {
|
||||
sku.VendorSkuID = product["app_food_code"].(string)
|
||||
|
||||
Reference in New Issue
Block a user