Discount Offer
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99



Pass exam with Dumps4free or we will provide you with three additional months of access for FREE.

B2B-Commerce-Developer Practice Test


Page 11 out of 43 Pages

A developer is trying to troubleshoot why a field is not displaying on the Product Detail Page. What should be typed in the Developer Tools Console in the browser to view the fields available for the Product Detail Page?


A. CCRZ.productSearchView


B. CCRZ.cartView


C. CCRZ.productDetailModel


D. CCRZ.productDetailView





C.
  CCRZ.productDetailModel

Explanation:

To view the fields available for the Product Detail Page, the developer should type CCRZ.productDetailModel in the Developer Tools Console in the browser. This will display the product detail model object, which contains the product data and attributes that are rendered on the page. The other options are either not valid or not relevant for the Product Detail Page.

Which element can be used to pass HTML from a parent component to a child component? 03m 19s


A.


B.


C.


D.





D.
  

Explanation:

To pass HTML from a parent component to a child component, the child component needs to have a element in its template. A slot is a placeholder for markup that a parent component passes into a component’s body. Slots are part of the Web Component specification. The parent component can use the slot name or the default slot to specify which HTML content goes into which slot of the child component. The other options are not valid elements for passing HTML from parent to child. References: Slots Pass HTML Markup From Parent TO CHILD In Lightning Web Component How parent component pass HTML to child component in Angular?

A developer is working on a storefront that needs to use a sophisticated pricing engine hosted as a service outside the org. Assuming security and trusts have been established, which two actions must the developer take?


A. Make a call to the service


B. Use External Ohjects


C. Implement the sfdc_checkout.PriceCalculations


D. Implement the sfdc_checkout.CartPriceCalculations





A.
  Make a call to the service

C.
  Implement the sfdc_checkout.PriceCalculations

Explanation:

The correct answer is A and C. To use a sophisticated pricing engine hosted as a service outside the org, the developer must make a call to the service and implement the sfdc_checkout.PriceCalculations interface12. The sfdc_checkout.PriceCalculations interface is a standard interface that defines the methods for calculating prices for a cart or an order1. The developer can use this interface to override the default pricing logic and integrate with an external pricing service12. The developer must also make a call to the external service using Apex REST or SOAP callouts3 and handle the response data accordingly. Use External Objects and Implement the sfdc_checkout.CartPriceCalculations are not the correct answers. External objects are a way to access data from external data sources in real time, but they are not suitable for integrating with a pricing service that requires dynamic calculations .

The sfdc_checkout.CartPriceCalculations interface is a deprecated interface that was used for calculating prices for a cart only1. It has been replaced by the sfdc_checkout.PriceCalculations interface, which supports both carts and orders1.

References: B2B Commerce on Lightning Experience Developer Guide
B2B Commerce and D2C Commerce Developer Guide
Salesforce Accredited B2B Commerce Developer
sfdc_checkout.PriceCalculations Interface
Integrate with Lightning B2B Commerce
Apex REST Callouts
[Apex Web Services and Callouts]
[Work with External Data Sources]
[Access External Data With Salesforce Connect]

A user wants to have a Contact Us page in the storefront. This page will be a web-tolead form and it should have the header and footer, essentially the same look and feel as all the pages in the application. How can this requirement be fulfilled?


A. Page Include


B. Subscriber Page (CC Page)


C. Subscriber Template


D. Body Include Begin





B.
  Subscriber Page (CC Page)

Explanation:

To have a Contact Us page in the storefront that is a web-to-lead form and has the same look and feel as all the pages in the application, the requirement can be fulfilled by creating a Subscriber Page (CC Page). This is a custom Visualforce page that can be added to the storefront and use the standard header and footer components. The page can also include a web-to-lead form that submits data to Salesforce as leads. Salesforce References: B2B Commerce and D2C Commerce Developer Guide, Subscriber Pages

What is the fastest route to establishing the data needed for checkout development when setting up a new Store?


A. Import a previously exported store archive


B. Use sfdx setup scripts


C. Select Add Sample Data when setting up the store


D. Import the data with data loader





B.
  Use sfdx setup scripts

Explanation:

Option B is the correct answer because it describes the fastest route to establishing the data needed for checkout development when setting up a new store. The developer can use sfdx setup scripts to deploy a Lightning B2B testing environment that includes checkout flows, sample products, and a buyer. This way, the developer can quickly and easily test and customize the checkout flow using Experience Builder or Flow Builder. The other options are incorrect because they either require more time, manual steps, or additional tools to set up the data for checkout development. For example, importing a previously exported store archive or using data loader would require the developer to have access to the source data and the target org, and to map the fields and objects correctly. Selecting Add Sample Data when setting up the store would only provide a limited amount of data that may not be sufficient for checkout development. References: Create a B2B Commerce Org and Checkout Flow, B2B Commerce on Lightning Experience Developer Guide, B2B Commerce and D2C Commerce Developer Guide


Page 11 out of 43 Pages
Previous