ThethreeMuscoders / gamepackig

A super sleek e-commerce website.
0 stars 0 forks source link

Cart view #44 #45

Closed Cosmet closed 6 years ago

Cosmet commented 6 years ago

Assignee Tasks

Guidelines


BUGS Adding an item to cart from /products page then navigating to /cart page causes react to not render the cart because the added cart item to state wasn't eager loaded with the product thus not allowing render of product.image and product.name. Refresh of app fixes this.

Changing the quantity on the /cart page doesn't update the state in the store, but does update the cart item in the database. Refreshing gives you the correct quantity on state.