Configure the Checkout Summary subflow
Learn how to configure the Checkout Summary subflow
Last updated
Learn how to configure the Checkout Summary subflow
Last updated
Use the variable to display saved tax identifiers.
To create a variable:
Click Setup .
Type Flows
in the Quick Find field click Flows.
Scroll down and click Subflow - Checkout Summary. The Flow Builder opens in a separate tab.
Click the Manager tab and then click New Resource.
Enter the following details:
Select Variable from the Resource Type dropdown list.
API Name: Type Saved_Tax_Identifier
(or any other name with no restrictions).
Select Text from the Data Type dropdown list.
Select the Available for input and Available for output check boxes.
Click Done.
You can this variable to display the tax identifier when youconfigure the Checkout Summary subflow
.
Use the Checkout Summary subflow to add support for US tax certificates and tax identifiers. To add custom components to the Checkout Summary subflow:
From the Manager tab, double-click the Cart to Order Summary screen.
Delete all OOTB components from the subflow except the Shiping Address and Delivery Method components.
Drag the drb2b_drUtil to where you want it to appear on the Edit Screen.
Drag the drb2b_taxIdentifier to where you want it to appear on the Edit Screen.
Enter the following details. Be sure to click through all designer attributes to ensure that the default values are registered by Salesforce.
API Name: Type Tax_Identifier
(or any other name with no restrictions).
Cart Id: Type {!cartId}
.
Selected Tax Identifier: Type {!Saved_Tax_Identifier}
.
Drag the drb2b_drTermsElement to where you want it to appear on the Edit Screen.
Enter the following details. Be sure to click through all designer attributes to ensure that the default values are registered by Salesforce.
API Name: Type DR_Terms
(or any other name with no restrictions).
Auto Initialize: {!$GlobalConstant.True}
Cart Id: Type {!cartId}
.
Bypass Validation: Type {!$GlobalConstant.True}
or{!$GlobalConstant.False}
. By default, this value should be False
. See DR terms component for more information.
Click Done.
Click Save as.
Type drb2b_drUtil
in the Search components field and click drb2b_drUtil.
Type drb2b_drUtil
in the API Name field.
Type drb2b_taxIdentifier
in the Search components field and click drb2b_taxIdentifier.
Click Advanced, select the Manually assigned variables check box, and type {!Saved_Tax_Identifier}
in the Selected Tax Identifier field.
Type drb2b_drTermsElement
in the Search components field and click drb2b_drTermsElement.
Hide Terms UI: {!$GlobalConstant.False}
Enter the name of the custom subflow in the Flow Label field (for example, DR Checkout Summary
) and click Save.
Click Activate.