My screencast can be accessed here.
A brief summary of the points from the screencast below.
My shopping cart will only be accessible through the link on the navbar. My intention by doing so is to prevent the user from being redirected to the cart page every single time they press Add to Cart. On the cart page, the user will be able to add or subtract quantities from existing items and be able to remove them. I also will incorporate a continue shopping button that will redirect the user back to the home page. There will also be a purchase button that brings them to the thank you page.
I will use sessions to save the items and quantities that users select. The session will then be loaded into the cart upon the request.
I will avoid access by restricting purchases to only those who have logged in and or registered. To do so, I will use cookies to ensure the site can decipher those that have already gone through the login/registration process. A security concern I must address is to prevent those who have no information from logging in/registering from making any purchases and making sure that users can’t purchase without any quantities selected.
I provided personalization by incorporating the user’s username or full name to the invoice, which is where they are directed upon sucessful login/registration. The page displays a welcome back ‘x’ or welcome to (website name) ‘x’. When my assignment 3 is up and running, the purchase page will also have a personalized thank you message.
I will be working alone.
I am approaching Assignment 3 differently by taking the time of thinking about how I want the website to function and what I want it to do. This would allow me to know what to do with the coding easier. I am also planning it out more efficiently by dividing the work and giving myself scheduled times to do those parts. Unlike Assignment 2, I will also spread the work out over the course of a week vs. 2 days.