protected function setDataCartFormIndexProduct()
    {
        $data = array(
            'product' => $this->data_product,
            'share' => $this->getWidgetShare()
        );

        $this->setData('cart_form', $this->render('cart/add', $data, true));
    }
protected function setDataCartFormIndexProduct()
    {
        $data = array(
            'product' => $this->data_product,
            'share' => $this->getWidgetShare()
        );

        $this->setData('cart_form', $this->render('cart/add', $data, true));
    }
protected function setDataCartFormIndexProduct ( ) { $ data = array ( 'product' => $ this -> data_product , 'share' => $ this -> getWidgetShare ( ) ) ; $ this -> setData ( 'cart_form' , $ this -> render ( 'cart/add' , $ data , true ) ) ; }
Sets the "Add to cart" form
Sets the Add to cart form