Exercise 5 | 10 mins

<aside> 💡 Hint: You’ll need to access the ProductStore from within the CartStore to get the items prices.

</aside>

<aside> 💡 Hint: It might be helpful to create a dynamic getter in the ProductStore.

</aside>

Screen Shot 2022-06-02 at 3.27.11 PM.png

Bonus

If you have any leftover time, feel free to finish up the rest of the cart functionality:

  1. The item count in the cart
  2. Removing and item from the cart
  3. Clearing the cart