Commerce Service Center allows you to identify an address as requiring exclusive access, or preventing multiple properties from sharing the same address. Using the AddressCollectionReferenceManager
, you can set the exclusiveReferenceProperties
to indicate which properties require an exclusive reference to an address. This disables the sharing of addresses between properties.
For example, to indicate that the secondaryAddresses
cannot be the same as the creditCardAddresses
, you would set the following:
AddressCollectionReferenceManger.properties: # properties of the Profile exclusiveReferenceProperties=creditCards.address,secondaryAddresses
To indicate that all properties require an exclusive reference, configure the following:
AddressCollectionReferenceManger.properties: # properties of the Profile exclusiveReferenceProperties=*
To indicate that single-value addresses require exclusive references, use the DefaultAddressReferenceManager
to set the exclusiveReference
property to true.