Address details component
Learn how to use the Address details component.
Note: The information in this section applies to both the drb2b_addressDetails
component (Aura only) and drb2b_addressDetails_LWR
component (LWR only).
Use the drb2b_addressDetails
component to display the shopper's shipTo and billTo address. You can configure this component in the experience builder or flow.
You can publish an event to reload the address details component. Depending on your flow, you may be required to reload the component if the shopper updates their shipping or billing address.
Publish the Address details component event
Complete the following tasks to publish various event types. The event purpose and payload will vary depending on the use case.
Import DigitalRiverMessageChannel__c message
channel and message service into a custom JavaScript file, as shown below.
Declare the message context variable as shown below.
Publish the event.
Refer to the following table for more information on the Address details component events.
Event purpose | Event payload example | Description |
---|---|---|
reloadAddressDetails | n/a | Publish this event to reload the Address details component. |
Last updated