Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam B2B-Commerce-Administrator Topic 3 Question 65 Discussion

Actual exam question for Salesforce's B2B-Commerce-Administrator exam
Question #: 65
Topic #: 3
[All B2B-Commerce-Administrator Questions]

A developer is working on an existing checkout information built against the Lightning Web Runtime (LWR) and wants to implement a custom child checkout component to modify out-of-the-box functionality.

Which interface must the developer implement for the child component?

Show Suggested Answer Hide Answer
Suggested Answer: D

To implement a custom child checkout component to modify out-of-the-box functionality in an LWR checkout flow, the developer must implement the CheckoutStep interface. This interface defines the contract between the child component and the parent Checkout component, and allows the child component to communicate with the checkout flow. The developer must implement the methods of this interface, such as getStepName, getStepLabel, getStepStatus, validateStep, and so on. The developer can also use the @wire(CheckoutApi) decorator to access the checkout API methods and data.Reference:

Customize Your Checkout Flow for a B2B Store (LWR)

CheckoutStep Interface


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel