Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am building a website with shopping functionality so I need a basket, checkout and confirmation of products (local storage and session storage is allowed)
I am building a website with shopping functionality so I need a basket, checkout and confirmation of products (local storage and session storage is allowed) I also want to know - How to add a sorting of product price feature on your website? I want someone to write the code for this in HTML, CSS and JavaScript or even PHP E.g. similar to how Amazon sorts product prices - low to high / high to low You might wanna create a few sample products and apply the sorting to those by prices. Thanks a lot
Shopping functionality. 5 marks. Basket This should work like a shopping basket/cart on a Customers can add products commercial website, such as Amazon. The to a basket. When they check contents of the basket should persist across pages. out their purchase is recorded and a confirmation is I have given example code for a basket, which displayed. There is no need to they are welcome to use. send a confirmation email and no money should be taken from the customer. Product 5 marks. Checkout and when customers view the basket, they click data is stored on the server. confirmation. checkout", enter their details and get a confirmation page. No need for payment or confirmation email. It is ok if the checkout only works when the customer is logged in. Knock off 2.5 marks if the order is not stored in the database. Search for products. 5 marks Search This should work in a similar way to Amazon. The Customers can search for functionality. customer types in a keyword, clicks a button or products and the results can presses return, and a list of matching products is be sorted by price, category, displayed. The search must be run on the relevance, etc. The number of database. products in stock is displayed in the search results. 5 marks. Sorting of products The customer must have some way of sorting the by price, relevance, results by price, category etc. This can be done category, etc. using JavaScript, PHP or MongoDB. I am not expecting them to do pagination. Award 5 marks for two ways of sorting products. For example, sorting by price ascending and descending should get full marks, or sorting by price and alphabetical order. Shopping functionality. 5 marks. Basket This should work like a shopping basket/cart on a Customers can add products commercial website, such as Amazon. The to a basket. When they check contents of the basket should persist across pages. out their purchase is recorded and a confirmation is I have given example code for a basket, which displayed. There is no need to they are welcome to use. send a confirmation email and no money should be taken from the customer. Product 5 marks. Checkout and when customers view the basket, they click data is stored on the server. confirmation. checkout", enter their details and get a confirmation page. No need for payment or confirmation email. It is ok if the checkout only works when the customer is logged in. Knock off 2.5 marks if the order is not stored in the database. Search for products. 5 marks Search This should work in a similar way to Amazon. The Customers can search for functionality. customer types in a keyword, clicks a button or products and the results can presses return, and a list of matching products is be sorted by price, category, displayed. The search must be run on the relevance, etc. The number of database. products in stock is displayed in the search results. 5 marks. Sorting of products The customer must have some way of sorting the by price, relevance, results by price, category etc. This can be done category, etc. using JavaScript, PHP or MongoDB. I am not expecting them to do pagination. Award 5 marks for two ways of sorting products. For example, sorting by price ascending and descending should get full marks, or sorting by price and alphabetical orderStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started