1
This commit is contained in:
@@ -63,8 +63,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))
|
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, c.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