Fixed bugs in cart view and line_items controller. All features working perfectly.