Closed robertlevy closed 7 years ago
this adds a 'cart service' which centralizes keeping track of what's in the cart from clientside perspective.
used in the header to display a count of cart items
used on the product details page to enable the 'add to cart' button
also wired up the product details page to fetch data from services
todo:
this adds a 'cart service' which centralizes keeping track of what's in the cart from clientside perspective.
used in the header to display a count of cart items
used on the product details page to enable the 'add to cart' button
also wired up the product details page to fetch data from services