I am trying to get info about a cart item because a price is showing differently in SuiteCommerce 2023 vs 2021. I can make this call in the newer version
SC.Application.getLayout().childViewInstances['Item.ListNavigable']['Item.ListNavigable'].childViewInstance.getContext()
s
Steve Goldberg
05/12/2023, 8:23 AM
That's a very odd way to get info about an item the cart. Why don't you use the Cart component?
b
Benjamin Cookson
05/12/2023, 3:26 PM
I am on the view cart page. How do I use the cart component?