Click or drag to resize
SKUTreeNodeSynchronizeFields Method (Boolean, Boolean)
Ensures the same values in document fields and their mapped SKU fields plus ensures the same values in DocumentName, DocumentSKUName and SKUName fields. Please note that SKU fields are updated only if it is possible, i.e. it is either default culture version or SKU field is empty.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public void SynchronizeFields(
	bool fromDocumentToSKU,
	bool reverseSynchronizationIfEmpty
)

Parameters

fromDocumentToSKU
Type: SystemBoolean
True (default) - fields are synchronized in direction from document to SKU, False - fields are synchronized in direction from SKU to document
reverseSynchronizationIfEmpty
Type: SystemBoolean
True (default) - field is synchronized reversely to the direction given by fromDocumentToSKU parameter if source field of the synchronization is empty, False - all fields are always synchronized in direction given by the fromDocumentToSKU parameter
See Also