-
Create Product, Category, Cart, LineItem
-
Make associations
-
root route -> categories#index or map to something else
-
categories/index show all categories and products for respective categories
-
Add to cart button using the line_items form.
-
Add a hidden_field for product_id
-
In the line_items#create… add code to put cart_id, quantity and price…
-
Display the cart