美团包装费在sku上
This commit is contained in:
@@ -267,8 +267,6 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
|||||||
foodData["min_order_count"] = 1
|
foodData["min_order_count"] = 1
|
||||||
}
|
}
|
||||||
foodData["unit"] = storeSku.Unit
|
foodData["unit"] = storeSku.Unit
|
||||||
foodData["ladder_box_num"] = storeSku.LadderBoxNum
|
|
||||||
foodData["ladder_box_price"] = jxutils.IntPrice2Standard(int64(storeSku.LadderBoxPrice))
|
|
||||||
attr := switchAttr(storeSku.VendorVendorCatID)
|
attr := switchAttr(storeSku.VendorVendorCatID)
|
||||||
if attr != "" {
|
if attr != "" {
|
||||||
foodData["common_attr_value"] = attr
|
foodData["common_attr_value"] = attr
|
||||||
@@ -310,6 +308,8 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
|||||||
if storeSku.Upc != "" {
|
if storeSku.Upc != "" {
|
||||||
skus[0]["upc"] = storeSku.Upc
|
skus[0]["upc"] = storeSku.Upc
|
||||||
}
|
}
|
||||||
|
skus[0]["ladder_box_num"] = storeSku.LadderBoxNum
|
||||||
|
skus[0]["ladder_box_price"] = jxutils.IntPrice2Standard(int64(storeSku.LadderBoxPrice))
|
||||||
if foodData["tag_id"] != nil {
|
if foodData["tag_id"] != nil {
|
||||||
skus[0]["weight"] = storeSku.Weight // weight字段仅限服饰鞋帽、美妆、日用品、母婴、生鲜果蔬、生活超市下的便利店/超市门店品类的商家使用
|
skus[0]["weight"] = storeSku.Weight // weight字段仅限服饰鞋帽、美妆、日用品、母婴、生鲜果蔬、生活超市下的便利店/超市门店品类的商家使用
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user