Tax identifier component
Learn about the Tax identifier component.
Note: The information in this section applies to both the drb2b_taxIdentifier
component (Aura only) and drb2b_taxIdentifier_LWR
component (LWR only).
Use the drb2b_taxIdentifier
component to collect tax identifiers from shoppers and allow them to apply saved tax identifiers. You can configure this component in the flow.
You can publish an event to show or hide the tax identifier component.
Publish the Tax identifier component events
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 Tax identifier component events.
toggleShowTIComponent
{"isShow":true}
Publish this event to show {"isShow":true} or hide {"isShow":false} the Tax identifier component.
reloadTIComponent
n/a
(LWR Only) This reloads the tax identifier component. Use this to refresh the component after changes are made to the WebCart such as tax calculation.
Last updated