LogoLogo
Partner Integrations
Salesforce Lightning B2B Commerce App 2.0
Salesforce Lightning B2B Commerce App 2.0
  • Salesforce Lightning B2B Commerce App 2.0
  • Introduction
    • How it works
    • What's new in version 2.0
  • Upgrading to version 2.0
  • Integrate the Salesforce Lightning app
    • Step 1: Install the Digital River app
    • Step 2: Configure the Digital River app
    • Step 3: Register external services
    • Step 4: Configure DCM logs
    • Step 5: Add custom fields to the page layouts
    • Step 6: Enable email deliverability
    • Step 7: Import ECCN codes, tax groups, and tax types
    • Step 8: Configure and synchronize the products
    • Step 9: Schedule backend jobs
    • Step 10: Set up integration between Salesforce and Digital River
    • Step 11: Set up webhooks
    • Step 12: Configure landed cost
    • Step 13: Manage permission sets
    • Step 14: Configure shipping integration
    • Step 15: Integrating refunds
    • Step 16: Configure the From email address
    • Step 17: Integrate the Digital River components into the Commerce storefront
      • Integrate the Digital River components into the B2B Commerce LWR template
        • Add components to the Checkout page
        • Add custom components outside of checkout
      • Integrate the Digital River components into an asynchronous checkout flow
        • Custom components used in the checkout subflows
        • Subflow configuration
          • Configure the delivery method subflow
          • Configure the Checkout Summary subflow
          • Configure the Payment and Billing Address subflow
            • Edit the Payment Method screen
            • Edit the decision elements
            • Link screen components
          • Configure the shipping address subflow
            • Configure the shipping address screen
        • Configure the main checkout flow
      • Integrate the Digital River components into a synchronous checkout flow
        • Deploy flows using Salesforce Workbench
        • Update the flow nodes in the synchronous checkout flow
          • Create custom variables
          • Delete nodes
          • Connect nodes
          • Modify nodes
          • Add nodes
        • Configure screens for a customized synchronous flow
          • Add custom components to screens in the synchronous checkout flow
          • Configure the Shipping Options screen
          • Configure the Delivery Method Screen
          • Configure the Checkout Summary screen
          • Configure the Payment And Billing Address screen
          • Configure the Place Order Confirmation screen
      • Add custom components to pages (Aura)
        • Drag and drop (custom) components
    • Step 18: Test the Salesforce Lightning app integration
    • Step 19: Consider recommended extensions
  • Extend the Salesforce Lightning app
    • Customizing the Lightning web components
      • Designer attributes
        • Designer attributes for LWR
        • Designer attributes for Aura
      • Components
        • Buyer info component
        • DR util component
        • DR Terms component
        • Checkout summary component
        • Order Summary component
        • Place order component
        • Payments component
        • Payment details component
        • Tax identifier component
        • DR compliance component
        • Address details component
        • Offline refund component
        • Hide checkout summary component (Aura only)
    • Extend the Ship From address
    • Extend the webhook framework
    • Configure subscriptions
    • Shipping choice extension point
    • Customer credit
      • addCustomerCreditSourceToCheckout
      • deattachPaymentToCheckout
      • getAmountRemainingforCheckout
      • getCartDetailsById
      • Publishing connector events
    • Tax calculation
    • Overriding Digital River CSS
    • Mapping custom fields (LWR only)
    • Add a spinner component (LWR only)
  • User guide
    • Regulatory fees
    • Tax certificates
    • Tax identifiers
    • My wallet
    • Customer credit
    • Checkout and order creation
    • Fulfillment/cancellation flow
    • Refunds
    • Offline refunds
    • Invoices and credit memos
  • Support
  • Appendix
    • Custom fields and objects
    • Contact point address
    • Multi-currency support
Powered by GitBook
On this page
  • drb2b_addressDetails_LWR
  • drb2b_buyerInfo_LWR
  • drb2b_checkoutSummary_LWR
  • drb2b_drCompliance_LWR
  • drb2b_delayedPaymentInstructions_LWR
  • drb2b_drTermsElement_LWR
  • drb2b_myTaxIndentifier_LWR
  • drb2b_myWallet_LWR
  • drb2b_OfflineRefund_LWR
  • drb2b_orderSummary_LWR
  • drb2b_paymentDetails_LWR
  • drb2b_payments_LWR
  • drb2b_taxIdentifier_LWR
  • drb2b_usersTaxCertificate_LWR
  1. Extend the Salesforce Lightning app
  2. Customizing the Lightning web components
  3. Designer attributes

Designer attributes for LWR

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

PreviousDesigner attributesNextDesigner attributes for Aura

Last updated 1 year ago

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.

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

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
drb2b_addressDetails_LWR
drb2b_buyerInfo_LWR
drb2b_checkoutSummary_LW
drb2b_drCompliance_LWR
drb2b_delayedPaymentInstructions_LWR
drb2b_drTermsElement_LWR
drb2b_myTaxIdentifier_LWR
drb2b_myWallet_LWR
drb2b_OfflineRefund_LWR
drb2b_orderSummary_LWR
drb2b_paymentDetails_LWR
drb2b_payments_LWR
drb2b_taxIdentifier_LWR
drb2b_usersTaxCertificates_LWR