cancel
Showing results for 
Search instead for 
Did you mean: 

Individual Product Sync is not working with new attributes

Former Member
0 Kudos

Hi Experts,

I created the one to many relation on the Product(Catalog aware item) with New item(Catalog aware item) type.

So when i am synchronizing individual product , the new item type values are not syncing to the online product.but if the the new item having the online entries then only syncing new item online entries to the online product otherwise the new items are not syncing to online .So, these entries are not syncing to the Online product.

Could please help any one how to resolve this issue

Accepted Solutions (1)

Accepted Solutions (1)

former_member620692
Active Contributor
0 Kudos
  1. Login to backoffice and select 'System>Multithreaded Synchronization' from the left panel

  2. Select the desired synchronization code from the right panel

  3. Open 'ADMINISTRATION' tab and scroll down to find 'Sync attribute configurations'

  4. Double click the attribute whose synchronization has the issue. [Note: If you are not able to find the attribute due to limited space in the list box, you can double-click any attribute in the list and then you can select the desired attribute from the popup window]

  5. Change the value of 'Synchronize' to 'True' and click 'SAVE'.

You can also do it using an ImpEx script e.g. by importing the following ImpEx, you can stop manufacturerName of the product to be synchronized from Staged to Online catalogVersion in electronicsProductCatalog.

 UPDATE SyncAttributeDescriptorConfig;syncJob(code)[unique=true,path-delimiter=!];attributeDescriptor(enclosingType(code),qualifier)[unique=true];includedInSync
 ;"sync electronicsProductCatalog:Staged->Online";Product:manufacturerName;false

In your case, you need to change the value for syncJob code, itemtype code, and attribute name as per your setup and the value of includedInSync to true.

Former Member
0 Kudos

Thank you very !!.Problem got resolved

Answers (1)

Answers (1)

vinay_malempati
Active Participant
0 Kudos

Hi Jagdish,

First thing is you need to have the custom type in root types of sync job and it is should be included in sync . PFB the impex

 #Adding of roottypes - if not already added 
 INSERT_UPDATE CatalogVersionSyncJob; code[unique = true]; rootTypes(code)[mode = append]
 ; sync ProductCatalog:Staged->Online ; CustomType
 
     
 #Product model  properties for sync from staged to online
 INSERT_UPDATE SyncAttributeDescriptorConfig;syncJob($sourceProductCV, $targetProductCV)[unique=true];attributeDescriptor(enclosingType(code), qualifier)[unique=true];includedInSync;copyByValue
 ;;Product:attributeQualifierForCustomType;true;true