LogoLogo
Connectors
Salesforce Lightning B2B Commerce App 1.1
Salesforce Lightning B2B Commerce App 1.1
  • Salesforce Lightning B2B Commerce App 1.1
  • Introduction
    • How it works
    • What's new in version 1.1
  • Upgrading to version 1.1
  • 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 checkout flow
      • Custom components used in the checkout subflows
      • Subflow configuration
        • Starter subflows
        • Configure the shipping address subflow
          • Configure the shipping address screen
        • 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 main checkout flow
      • Add custom components to pages
        • Drag and drop (custom) components
    • Step 18: Test the Salesforce Lightning app integration
  • Extend the Salesforce Lightning app
    • Extend the ship from address
    • Extend the webhook framework
    • Configure subscriptions
    • Shipping choice extension point
    • Customer credit
      • addCustomerCreditSourceToCheckout
      • deattachPaymentToCheckout
      • getAmountRemainingforCheckout
      • getCartDetailsById
      • Publishing connector events
    • Overriding Digital River CSS
    • Customizing the Lightning web components
      • Designer attributes
      • Components
        • Buyer info component
        • Tax certificate component
        • DR terms component
        • DR util component
        • Hide checkout summary component
        • Place order component
  • User guide
    • Regulatory fees
    • Tax certificates
    • Tax identifiers
    • My wallet
    • Customer credit
    • Checkout and order creation
    • Fulfillment/cancellation flow
    • Refunds
    • Invoices and credit memos
  • Support
  • Appendix
    • Custom fields and objects
    • Contact point address
    • Multi-currency support
Powered by GitBook
On this page
  1. Extend the Salesforce Lightning app
  2. Customizing the Lightning web components

Designer attributes

Understand the purpose of the designer attribute

Component Name
Designer Attribute
Purpose/Description

[`drb2b_hideCheckout`](components/hide-checkout-summary-component.md)

Hide Checkout Summary

Use this attribute to show or hide the drb2b_checkoutSummary component (when used in the Checkout template). Your options are as follows:

  • {!$GlobalConstant.False} shows the drb2b_checkoutSummary component.

  • {!$GlobalConstant.True} hides the drb2b_checkoutSummary component.

drb2b_addressDetails

Record Id (subflow)

Use this attribute to provide the cartId.

Record Id (Checkout page)

Use this attribute to automatically bind the page's record ID to the component variable.

[`drb2b_buyerInfo`](components/buyer-info-component.md)

Cart Id

Use this attribute to provide the cartId.

``

Enable Tax Certificates

  • {!$GlobalConstant.False} hides the drb2b_taxCertificateCheckout component.

  • {!$GlobalConstant.True} shows the drb2b_taxCertificateCheckout component.

drb2b_cartContents

cart Id (subflow)

Use this attribute to provide the cartId.

record Id (Checkout page)

Use this attribute to automatically bind the page's record ID to the component variable.

Effective Account Id (Checkout page)

Use this attribute to automatically bind the current user account ID.

drb2b_checkoutSummary

Record Id (Checkout page)

Use this attribute to automatically bind the page's record ID to the component variable.

Cart Id

Use this attribute to provide the cartId.

Show All

Use this attribute to show or hide all fields in the drb2b_checkoutSummary component.

Show Amount Contributed

Use this attribute to show or hide the Amount Contributed in the drb2b_checkoutSummary component.

Show Duty

Use this attribute to show or hide the Duty in the drb2b_checkoutSummary component.

Show Grand Total

Use this attribute to show or hide the Grand Total in the drb2b_checkoutSummary component.

Show IOR Tax

Use this attribute to show or hide the IOR Tax in the drb2b_checkoutSummary component.

Show Regulatory Fee

Use this attribute to show or hide the Regulatory Fee in the drb2b_checkoutSummary component.

Show Remaining Amount

Use this attribute to show or hide the Remaining Amount in the drb2b_checkoutSummary component.

Show Shipping

Use this attribute to show or hide the Shipping in the drb2b_checkoutSummary component.

Show Sub Total

Use this attribute to show or hide the SubTotal in the drb2b_checkoutSummary component.

Show Tax

Use this attribute to show or hide the Tax in the drb2b_checkoutSummary component.

drb2b_taxIdentifier

Cart Id

Use this attribute to provide the cartId.

Selected Tax Identifier

Use this attribute to preserve selected and newly added tax identifiers.

If validation fails for any reason and the screen is reloaded, this attribute will maintain any selected or newly added tax identifiers.

Cart Id

Use this attribute to provide the cartId.

Bypass Validation

Use this attribute to bypass validation. Your options are as follows:

  • Set this attribute to {!$GlobalConstant.True} if the drb2b_drTermsElement component is not included on the Place order page or to apply a custom validation.

  • Set this attribute to {!$GlobalConstant.False} if the drb2b_drTermsElement component is included on the Place order page or to use the built in validation (default).

drb2b_payments

Use this attribute to provide options for Drop-in flexibility an compatibility. 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

Record Id

Use this attribute to provide the cartId.

drb2b_paymentDetails

cart Id

Use this attribute to provide the cartId.

Record Id (Order Summary Detail and Order Confirmation pages)

Use this attribute to automatically bind the page's record ID to the component variable.

drb2b_orderSummary

Record Id (checkout page)

Use this attribute to automatically bind the page's record ID to the component variable.

Record Id (subflow)

Use this attribute to provide the cartId.

Bypass Validation

Use this attribute to bypass validation. Your options are as follows:

  • {!$GlobalConstant.True} bypasses validation for the drb2b_drTermsElement component (if included on the Place Order page).

  • {!$GlobalConstant.False} does not bypass validation for the drb2b_drTermsElement component (if included on the Place Order page).

If the drb2b_drTermsElement component is not on the same page as the drb2b_orderSummarycomponent, this attribute should be set to {!$GlobalConstant.True}

Show All

Use this attribute to show or hide all fields **** in the drb2b_orderSummary component.

Show Duty

Use this attribute to show or hide the Duty in the drb2b_orderSummary component.

Show IOR Tax

Use this attribute to show or hide the IOR tax in the drb2b_orderSummary component.

Show Grand Total

Use this attribute to hide or show the Grand Total in the drb2b_orderSummary component.

Show Place Order

Use this attribute to hide or show the Place Order in the drb2b_orderSummary component.

Show Regulatory Fee

Use this attribute to hide or show the Regulatory Fee in the drb2b_orderSummary component.

Show Shipping

Use this attribute to hide or show the Shipping in the drb2b_orderSummary component.

Show Subtotal

Use this attribute to hide or show the Subtotal in the drb2b_orderSummary component.

Show Tax

Use this attribute to hide or show the Tax in the drb2b_orderSummary component.

drb2b_drCompliance

Record ID (All Checkout pages)

Use this attribute to bind the page's record ID to the component variable.

Object Name (All Checkout pages)

Use this attribute to bind the page's object name to the component variable.

drb2b_WireTransferInstructions

Record Id (Order Confirmation page)

Use this attribute to bind the page's record ID to the component variable.

drb2b_productDetail

Record Id (Order Confirmation page)

Use this attribute to bind the page's record ID to the component variable.

drb2b_VatCreditMemo

Record Id (Order Summary Detail page)

Use this attribute to bind the page's record ID to the component variable.

Type (Order Summary Detail page)

Use this attribute to render an invoice or credit memo based on the following Type values:

  • Invoices

  • Credit memos

drb2b_myWallet

Dropin Config (My Account page)

Use this attribute to provide options for Drop-in flexibility and compatibility

Provide data for this attribute in JSON format. For example: {"options.button.type": custom,"options.button.buttonText":'test',"test":"test3"}

PreviousCustomizing the Lightning web componentsNextComponents

Last updated 2 years ago

Use this attribute to enable or disable the component. Your options are as follows:

drb2b_taxCertificateCheckout
drb2b_drTermsElement
Dropin Config