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:

  • 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:

  • 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:

  • 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:

This component has no configurable attributes.

drb2b_drTermsElement_LWR

This component has the following attributes:

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

  • 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 no configurable designer 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:

  • 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:

  • Auto Initialize: Use this attribute to determine whether the component initializes on page load.

drb2b_payments_LWR

This component has the following attributes:

  • Fire Zero Dollar Event - Use this attribute to control how zero-dollar orders are handled. When set to False (the default value) and the order total is zero dollars with no subscription products in the cart, the connector redirects the user to the next page without requiring a payment source. If set to True, and the above criteria is matched, the component publishes a custom event which can be subscribed to by a custom component as desired. Additionally, the drb2b_dropIn component will be hidden when the event is published. The user will not be redirected to the next page in the flow when this event is fired. By subscribing to this event, you can perform custom logic.

  • Drop-in Config - Use this attribute to provide options for Drop-in flexibility an compatibility. You provide data for this attribute in JSON format. For example: {"options.button.type": custom,"options.button.buttonText":'test',"test":"test3"} See Drop-in config for a full list of options.

  • Disable Saved Payments - Use this attribute to show or hide the Saved Payments tab. Set this attribute to False to display Saved Payment options (the default value). Set this to True if you want the Saved Payments tab to be hidden, and the shopper will not be able to save payment methods for future use. Note: Do not enable this attribute if Subscription products are used.

  • Enable Override Payments - Set this value to False to have the drb2b_payments_LWR component load automatically upon page load. This is the default value. If this value is set to True, the component does not load automatically on page load. This means you must fire an event to specify which payment methods should be loaded.

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