cancel
Showing results for 
Search instead for 
Did you mean: 

Media Synchronization

Former Member
0 Kudos

Hi Experts,

We have two catalogs say Catalog A and Catalog B which will have some common products.

We are moving some product Data from Catalog A and Catalog B.

Some fields for products in catalog B will have different values than Catalog A.

We need to know whats the best way to Sync the Media from Catalog A products to Catalog B Products.

Accepted Solutions (0)

Answers (2)

Answers (2)

andyfletcher
Active Contributor
0 Kudos

You can exclude certain attributes from the sync job.

I know how to do this via the hMC or impex but I'm not sure how to do it via backoffice so if you're on Hybris 6 you'll either have to re-enable the hMC or use impex.

hMC

  • Catalog -> Catalog Management Tools -> Synchronization

  • Choose source catalog and click next

  • Double click the executable job that you want to change

  • On the Synchronization Properties tab uncheck properties in Properties to synchronize tree that will have different values between your catalog versions so that they aren't synchronized

  • Save your changes

Impex

e.g. to stop synchronising product descriptions

 UPDATE CatalogVersionSyncJob;code[unique=true];exportAttributeDescriptors(key(enclosingType(code),qualifier),value)[append=true]
 ;Sync Default:Staged -> Default:Online;Product:description->false

If you don't know the code of your sync job and there is only one per source/target pair then you could try

 UPDATE CatalogVersionSyncJob;sourceVersion(catalog(id),version)[unique=true];targetVersion(catalog(id),version)[unique=true];exportAttributeDescriptors(key(enclosingType(code),qualifier),value)[append=true]
 ;Default:Staged;Default:Online;Product:description->false
Former Member
0 Kudos

Anyone knows how to achieve this?.