'I want to create a cart view
I want to create a cartview by allowing an item to be selected once I click on the Icon Button then the item is pushed to the cartview and it can show if the item is clicked again that it has been added to the cart. I would want only when the Icon Button is clicked that's when the item should be added.
Then I want the cartview to automatically calculate prices and everything together
The issue is I don't know how to get the data which I stored in a model in the app. Like I want to interact between the model and the code for the cartview
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|