I am trying to get info about a cart item because ...
# suitecommerce
b
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
That's a very odd way to get info about an item the cart. Why don't you use the Cart component?
b
I am on the view cart page. How do I use the cart component?
b
Thanks