1
This commit is contained in:
@@ -62,9 +62,8 @@ func CopyOnStoreSkuToOther(ctx *jxcontext.Context, fromVendorStoreId, toStoreId
|
|||||||
//}
|
//}
|
||||||
if v.Children != nil && len(v.Children) != 0 {
|
if v.Children != nil && len(v.Children) != 0 {
|
||||||
for _, c := range v.Children {
|
for _, c := range v.Children {
|
||||||
globals.SugarLogger.Debugf("==Children : %s", utils.Format4Output(c, false))
|
|
||||||
if err := toApi.RetailCatUpdate(toStore.VendorStoreID, v.Name, &mtwmapi.Param4UpdateCat{
|
if err := toApi.RetailCatUpdate(toStore.VendorStoreID, v.Name, &mtwmapi.Param4UpdateCat{
|
||||||
//CategoryNameOrigin: v.Name,
|
CategoryNameOrigin: v.Name,
|
||||||
//CategoryCodeOrigin: v.Code,
|
//CategoryCodeOrigin: v.Code,
|
||||||
//CategoryCode: v.Code,
|
//CategoryCode: v.Code,
|
||||||
SecondaryCategoryCode: c.Code,
|
SecondaryCategoryCode: c.Code,
|
||||||
|
|||||||
Reference in New Issue
Block a user