i have a e-commerce rails app in the making, i want you to add the cart system in it, note all html and css work has veen done you have to add a fully functional cart system:
1. users should be able to add products to the cart.
2. users can view there cart after many days and the products should be there.
3. users should be able to delete products from there cart,
4. cart should show total number of products and total amount
5. there should be a order button on the cart page, clicking in which should take user to a new page to give delivery details.
6. in the delivery details page users should be able to add Name, Address, phone number.
7. when users finish adding the details on the page, it should say order received, and the details should be sent to to a particular email address for now let suppose it as any gmail address.