Shopping Cart written in CodeIgniter with JavaScript for the frontend