an e-commerce application that takes orders from customers, verifies inventory and available credit, and ships them. The application consists of several components including the StoreFrontUI, which implements the user interface, along with some backend services for checking credit, maintaining inventory and shipping orders. The application consists of a set of services.
Keep track of the axes they want to purchase using a shopping cart:
A shopping cart page will be created.
Each time a user clicks the add to cart button for an item, a quantity choice should be selected. The maximum quantity should equal the total inventory available for that axe type.
Once the user adds items to their cart, that quantity should be subtracted from the inventory.
There should be a button to view the inventory and begin the checkout process.
The cart page should display the quantity and price of each type of axe in the cart, along with a total cost.
The user should confirm these details before moving on to enter payment details with a continue checkout button.
The cart page should also contain a continue shopping button to return to the homepage.
The cart page should also include remove options for items if the user decides to not purchase an item any longer. The inventory should reflect this.
Check out and pay for their shopping cart:
The checkout page should include a form to enter their personal information and payment details with text input fields for first and last name, shipping address, billing address, and credit card information. A button for confirm purchase will complete the transaction.
The form should return an error if any of the text input fields are left blank when the user hits the confirm purchase button.
The checkout page should also include a cancel order button. If used, the inventory should reflect this.
If confirm purchase is selected, the user is taken to a confirmation page with a thank you and an invoice for their purchase. The shopping cart should be emptied.
Keep track of the axes they want to purchase using a shopping cart:
Check out and pay for their shopping cart: