nss-evening-cohort-9 / foundations-group-project-kiss-the-goat

foundations-group-project-kiss-the-goat created by GitHub Classroom
0 stars 0 forks source link

Product Page: Add to Shopping Cart Feature #14

Closed KeithRWalker closed 5 years ago

KeithRWalker commented 5 years ago

User Story

As a user I want to click the add to cart button on a product card. I want this button to add the product it to a cart which I can then take to the checkout page. I want to be able to add more then one type of product to my cart.

AC

WHEN The user clicks add to cart the beer should be added to a cart AND the user should see a confirmation of this action THEN the user should be able to get to the checkout page to purchase a beer.

Development

KeithRWalker commented 5 years ago

https://getbootstrap.com/docs/4.0/components/alerts/

KeithRWalker commented 5 years ago

https://getbootstrap.com/docs/4.0/components/modal/

zoeames commented 5 years ago

How do alerts and modals fit into this ticket?

zoeames commented 5 years ago

Can you think of a way to do this without creating another id? you already have an id on the product right? something like 'product1' . can you reuse this or access it in some way

KeithRWalker commented 5 years ago

How do alerts and modals fit into this ticket?

for the last development requirement I want something to show the user the item has been added to the cart. I added both of them on here, because I want to be able to try both, and see which looks/works better. I can make that into a new ticket if need be, but didn't think it was necessary since it is not really a feature on it's own.

KeithRWalker commented 5 years ago

Can you think of a way to do this without creating another id? you already have an id on the product right? something like 'product1' . can you reuse this or access it in some way

I know there is a better way, i'm just having a really hard time knowing what that is until I am able to actually read the code. I can make a new ticket for research, but I'm not sure what I would put in it until I got to it. Is it okay to edit this ticket/ make a new one once I get things up to this point working?

zoeames commented 5 years ago

👍