cancel
Showing results for 
Search instead for 
Did you mean: 

sync should not sync the deleted products on target catalog

Former Member
0 Kudos

I have 2 catalogs say cat1 and cat2. I can sync products from cat1:staged to cat2:staged. Now I will update or delete some of the products in cat2:staged. When I sync again from cat1:staged to cat2:staged, the products that I deleted in cat2:staged should not be synced i,e; not to added to target catalog when I Sync. Can any one please let me know the solution. Thanks in advance.

Former Member
0 Kudos

Is there anyone to take up this challenge?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

One possible solution (if you are feeling brave enough) is to extend CatalogVersionSyncJob. The method you might want to override is configureFullVersionSync(..), where you can determine which items to sync and which ones not too.

It is not for the faint-hearted and make plenty of time to ensure there are no performance issues if syncing 100,000s of items. Good luck.

Former Member
0 Kudos

Hi Jaipal,

If I understand your question correct, you want to delete a product in the staged catalog but after the sync the deleted product in the staged catalog shouldn't be deleted in the online catalog, right?

Login in your hMC -> Catalog -> Catalogs -> Double click on your staged catalog -> Catalog versions tab -> Click on the Dependent catalog versions -> Change the value Remove missing elements to No.

When you sync the staged catalog now the deleted items from the staged catalog will not be deleted in the online catalog.

Former Member
0 Kudos

sorry. It is the other way. I have synched the product from staged to online catalog. Now I will delete the product in Online catalog. Now when I sync again from staged to online, the deleted product is again appearing in the online catalog which should not happen.