Is there a Cart component method that would be the equivalent of LiveOrderModel.getInstance().getLatestAddition()? I am under the impression we can still use the CartConfirmationView in 2020.2 and looking to pass the model data of the recently added item to the cart.
k
Kearobi
02/19/2021, 4:41 PM
I don’t think latest_addition is returned by the cart component.
s
Steve Goldberg
02/23/2021, 2:15 PM
This specific method should be added in SC 21.1 (Safe Harbor statement)
c
Christopher Dembek
02/23/2021, 3:59 PM
@Steve Goldberg Can we use CartConfirmationView as a child view within an extension or do we need to create our own CartConfirmationView?