Challenge

Project 1

Project 1:

For customer:

1. Added funtionality to view the entire catalog.

2. Added functionality to add 1 product to the cart. The code for adding multiple products in the cart is present but it is not working.

3. Added functionality to view cart.

4. Added functionality to checkout with the products in the cart. this will also create a txt file with consumer id and products bought.

For seller:

1. Added functionality to add products in their catalog. Each product will be assigned unique ProductID that will be a combination of sellerID and random 3 digit number. (Visible in view catalog after adding atleast product.

2. Added functionality to view catalog.

3. Added functionality to delete any product from the catalog. Deleting a product will leave an empty index in the catalog array, so added functionality to shift the products below to one play above them. Now we can delete any product without any issues.

For Admin:

1. Added functionality to view the complete catalog.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.