Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Old category is kept in "additionnal categories" when updated with XML import

Vote:
 

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.

#249625
Mar 05, 2021 19:28
Vote:
 

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)

#249716
Mar 08, 2021 8:28
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.