public function detailAction(Request $request)
    {
       
        $cart = $this->getCurrentCart();
        $form = $this->createForm('EcommerceBundle\Form\CartType', $cart);

        return array(
            'cart' => $cart,
            'form' => $form->createView()
        );
    }