Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add product to shopping cart #7

Open
ghost opened this issue Feb 7, 2017 · 0 comments
Open

Add product to shopping cart #7

ghost opened this issue Feb 7, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 7, 2017

Ability to add products in CLI tool where the User can register a Customer, view/add products, add payment, and complete an order.

Context

Assuming a Customer account has been created (see issue #3), and the user has selected an active customer from Main menu(see issue #5), the user will be able to add products to their shopping cart.

Expected Behavior

On start, Main menu option4 is "Add product to shopping cart". When Menu option no.4 is selected, the user is shown a product list from which to select a product to add to their shopping cart. The user may only select one product at a time. Until the user selects the last option on the product list, which will be "Return to main menu", they will return to the product list each time a product is selected.

If the user selects menu option4 but has not selected an active customer (issue #5) from existing customer accounts
(issue #3), then the user will be redirected to the Main menu with a prompt to Select an active customer.

(Each product purchase will add a row to the OrderProduct table. If a product hasn't yet been purchased by any user, the initial purchase will necessarily add the product to the Product Popularity report (see issue #8).)

@ghost ghost mentioned this issue Feb 7, 2017
@ghost ghost self-assigned this Feb 8, 2017
@ghost ghost mentioned this issue Feb 14, 2017
5 tasks
@rtwhitfield84 rtwhitfield84 mentioned this issue Feb 15, 2017
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant