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?
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)
Carman
10 months agoTricia
9 months agoMoon
10 months agoGraham
10 months agoDaniel
11 months agoAdelle
11 months agoMarva
11 months agoTamesha
10 months agoArthur
10 months agoDenise
10 months agoIlda
10 months agoYun
11 months agoAbel
11 months agoDonette
10 months agoDorthy
11 months agoNicolette
11 months agoCordie
11 months agoNohemi
12 months ago