When i feed an entry with Mediachase.Commerce.Catalog.ImportExport.ImportJob with overwriteDuplicates = true,
the product is updated but if the ParentNode is different the product still retains the old category as an additionnal category in the Commerce > Catalog section of the CMS.
Is there a way to modify this behavior ?
Step to reproduce :
Import a product,
Modify the category in the data source,
Import it again and observe the "belong to" tab of the updated product.
You need to check if the Parent Node as specified in the XML import has IsPrimary = true set. Otherwise it'll be counted as linked parents (i.e. additional nodes)
When i feed an entry with Mediachase.Commerce.Catalog.ImportExport.ImportJob with overwriteDuplicates = true,
the product is updated but if the ParentNode is different the product still retains the old category as an additionnal category in the Commerce > Catalog section of the CMS.
Is there a way to modify this behavior ?
Step to reproduce :
Import a product,
Modify the category in the data source,
Import it again and observe the "belong to" tab of the updated product.