Question: FOR PYTHON Store Simulation that has admin, customer, and product. -Product has three types: physical products (such as board games, furniture, cell phones), digital products
FOR PYTHON
Store Simulation that has admin, customer, and product.
-Product has three types: physical products (such as board games, furniture, cell phones), digital products (such as gift cards, ebooks, steam codes), subscription products (such as netflix, online classes, chegg)
-When each product is checked out of store: Physical products prompt for address, Digital products prompt for email and returns code of digital product, Subscription products prompt for email
-Product: Show products or list of products, allow user to select product with arrow or key, and product page should show: product, review of the product, price, and in-stock quantity (if product is unavailable display error to user).
-Customer can: Login(store in dictionary "users" along with balance), then give user option to select category(physical, digital, or subscription), allow user to add funds to wallet, allow user to add product review, and ability to add to shopping cart and continue through store.
-Admin can: add/remove categories of products, add/remove product to/from category, set price on product, restock particular item in store, and view logs
KEY POINTS:
- user should be able to checkout and quit store at all times and if they quit the store, they just go back to the login page instead of exiting the program.
- user should have a cart in which the products are stored
- when an admin views their logs it looks like:
Purchase History:
Time Stamp Product Name Confirmation Code Price Store Revenue
Product Listings:
Category Product Name Product Type Items left
User Information
Username Name User Type Last Login
TIP: Using the self variable will save you a lot of work
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
