Designer attributes for LWR

Learn about designer attributes that can be used by components on LWR template pages.

The following information details using designer attributes on LWR template pages. To look at the attributes for a specific component, click on the component name in this list.

drb2b_addressDetails_LWR

This component has the following attributes:

  • Record Id {!recordId} - Use this attribute to automatically bind the page's record ID to the component variable.

  • Show Shipping Address - Use this to hide or show the Shipping Address on the component. Check to show the Shipping Address on the component or uncheck to hide it.

  • Show Billing Address - Use this to hide or show the Billing Address on the component. Check to show the Billing Address on the component or uncheck to hide it.

drb2b_buyerInfo_LWR

This component has the following attributes:

  • Show Shipping Address - Use this to hide or show the Shipping Address on the component. Check to show the Shipping Address on the component or uncheck to hide it.

drb2b_checkoutSummary_LWR

This component has the following attributes:

  • Record Id{!recordId} - Use this attribute to automatically bind the page's record ID to the component variable.

  • Show Duty: Use this attribute to show or hide the Duty on the component.

  • Show Shipping: Use this attribute to show or hide the Shipping on the component.

  • Show Regulatory Fee: Use this attribute to show or hide the Regulatory Fee on the component.

  • Show Tax: Use this attribute to show or hide the Tax on the component.

  • Show IOR tax: Use this attribute to show or hide the IOR Tax on the component.

  • Show Grand total: Use this attribute to show or hide the Grand Total on the component.

  • Show Sub total: Use this attribute to show or hide the Subtotal on the component.

  • Show All: Use this attribute to show or hide all fields on the component.

  • Show Amount Contributed: Use this attribute to show or hide the Amount Contributed on the component.

  • Show Remaining Amount: Use this attribute to show or hide the Remaining Amount on the component.

  • Show Promotion: Use this attribute to show or hide the Promotion on the component.

drb2b_drCompliance_LWR

This component has the following attributes:

  • Object Name - Use this attribute to bind the page's object name to the component variable. Set to {!objectApiName}.

  • Use Default Selling Entity: Use this attribute to indicate whether the Default Selling Entity configured on the Digital River Attributes page is used to render the component. This value should be checked on all pages outside of Checkout. On the Checkout page, it should remain unchecked.

drb2b_delayedPaymentInstructions_LWR

This component has the following attributes:

  • Record Id:{!recordId}. Use this attribute to bind the page's record ID to the component variable

drb2b_drTermsElement_LWR

This component has the following attributes:

  • Heading: leave blank or enter a value to set a heading for the component.

  • Record Id: {!recordId}. Use this attribute to bind the page's record ID to the component variable.

  • Object Name: Use this attribute to bind the page's object name to the component variable. Set to {!objectApiName}.

  • Bypass Validation: Use this attribute to bypass the component validation. By default, this should be unchecked so that validation on the component is enforced. If you need to implement custom validation or a custom version of the component, check this attribute.

Note: If you use a custom validation, ensure the shopper accepts the terms and conditions before clicking the Place Order button. We recommend that you create a custom Place Order button.

  • Hide Terms UI: Use this attribute to hide or show the UI of the component. The default value is Unchecked. If you set this to Checked, the component does not display the terms to the shopper. Additionally, an event is published with the Terms string. You can subscribe to this event to use the terms the shopper agrees to or create a custom validation.

  • Auto Initialize: Use this attribute to determine whether the component initializes on page load. Set this attribute to Checked to have the component initialize on page load (default) or set to Unchecked if the component should not initialize on page load.

drb2b_myTaxIndentifier_LWR

This component has the following attributes:

  • webcartId: This is a legacy attribute and can be left blank.

drb2b_myWallet_LWR

This component has the following attributes:

  • Dropin Config: Use this attribute to provide options for Drop-in flexibility and compatibility. You provide data for this attribute in JSON format. For example: {"options.button.type": custom,"options.button.buttonText":'test',"test":"test3"}

drb2b_OfflineRefund_LWR

This component has no configurable attributes.

drb2b_orderSummary_LWR

This component has the following attributes:

  • Record Id: {!recordId}. Use this attribute to bind the page's record ID to the component variable.

  • Show Duty: Use this attribute to show or hide the Duty on the component.

  • Show Shipping: Use this attribute to show or hide the Shipping on the component.

  • Show Regulatory Fee: Use this attribute to show or hide the Regulatory Fee on the component.

  • Show Tax: Use this attribute to show or hide the Tax on the component.

  • Show IOR tax: Use this attribute to show or hide the IOR Tax on the component.

  • Show All: Use this attribute to show or hide all fields on the component.

  • Show Grand total: Use this attribute to show or hide the Grand total on the component.

  • Show Subtotal: Use this attribute to show or hide the subtotal on the component.

  • Auto Initialize: Use this attribute to determine whether the component initializes on page load. Set this attribute to Checked to have the component initialize on page load or set to Unchecked if the component should not initialize on page load. This is recommended to be set to Unchecked so the component is hidden on page load.

  • Show Promotion: Use this attribute to show or hide the Promotion on the component.

  • Bypass Validation: Use this attribute to bypass validation. Set this attribute to Unchecked (default) to force validation of the Digital River Terms on the page. Set this attribute to Checked if you will enforce a custom validation instead.

  • Place Order: Use this to control the executing order placement logic of multiple drb2b_orderSummary_LWR components. In most cases, there will only be a single instance of the drb2b_orderSummary_LWR component on the page; therefore, this attribute should be Checked.

drb2b_paymentDetails_LWR

This component has the following attributes:

  • Record Id:{!recordId}. Use this attribute to bind the page's record ID to the component variable.

drb2b_payments_LWR

This component has no configurable attributes.

drb2b_taxIdentifier_LWR

This component has the following attributes:

  • Selected Tax Identifier: leave blank

drb2b_usersTaxCertificate_LWR

This component has no configurable attributes.

Last updated