create a layout for our Home page as it's different from all other pages
add assets files
create template and route for our home page
javascript code required to trigger the Flexslider
stylying home template and layout default template
Setup the inner pages
create newsletter section
create a Foldagram form that a user can access from any page
run 'php artisan workbench acme/cart --resources'
register CartService provider then run 'composer install && php artisan dump-autoload'
access workbench Cart class like any other class by using Facades classes
redefine Cart class in Cart package to handle the session and initialize necessary parts
sett initial items, such as quantity, price, and row ID, from array. Row ID is generated by the md5 method for creating a unique row for our cart contents, so later we can use this to update our record or delete it from our container. After updating individual items, we are merging the  array into our container.
validate method first check if the array is empty; if it is throw an error. Next, check if all our indexes are present in our item array. And lastly check qty and price for the numeric values.
Initially merge our total items and cart total with our container. Then we'll loop through each item and update our cart total and total items in the cart. And finally we will use the session library's put method to put our data into the session, so our data is preserved between requests
if someone changes our Foldagram quantity, we need to update our cart to make sure our price is updated. We also need track if somebody updates the quantity as 0; this means we need to remove that Foldagram from our Cart.
To delete an item from cart, all we need is the rowid of that item. If rowid is passed, we just need to call our update method with the item array as rowid and the quantity as 0. Our update method will handle this and remove it from our cart, as well as update the session as it already has a mechanism for that
viewing the cart contents
viewing the cart total
Delete all items from the cart. First, we override our container with empty values and then remove it from our current session