Open 1meza opened 2 months ago
Check Out Page Layout: - Daniel and Anthony DUE DATE: Apr 21 ALL USER INFORMATION - Daniel DUE DATE: Apr 24 ALL PAYMENT AND SHIPPING INFORMATION - Anthony DUE DATE: Apr 24 ALL PRODUCTS in Shopping Cart along with details - Daniel and Anthony DUE DATE: Apr 24
Completed this in with checkout routes but need to fix bugs with ejs and validating
The user when checking out you must check the cart is not empty,create an order in the orders collection that takes either the address information form the users account (if exists) or collects this info. Billing information should also be collected and be part of this order. ALL of the order information should be stored in the orders MongoDB collection AND there should be a reference to the user collection document of the user who ordered it. Regarding the following of information in the checkout, you can do this as a series of forms OR a single form. The design is up to you, but, in either case, the form needs to be WELL designed and organized. The result of shopping should include the following: