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)
Hoa
9 months agoMarti
9 months agoHyun
9 months agoTammi
10 months agoDerick
10 months agoDarrel
10 months agoGeorgene
10 months agoPhil
10 months agoGary
11 months agoRosamond
11 months agoParis
11 months agoIsidra
11 months agoDaron
11 months agoVince
11 months agoAlesia
11 months agoShalon
11 months agoJudy
11 months agoHalina
11 months agoMarti
11 months agoCarman
2 years agoTricia
2 years agoMoon
2 years agoGraham
2 years agoDaniel
2 years agoAdelle
2 years agoMarva
2 years agoTamesha
2 years agoArthur
2 years agoDenise
2 years agoIlda
2 years agoYun
2 years agoAbel
2 years agoDonette
2 years agoDorthy
2 years agoNicolette
2 years agoCordie
2 years agoNohemi
2 years ago