protected function submitAddProduct()
    {
        $this->setSubmitted(null, $this->getParam());
        $this->setSubmitted('form', true); // Internal flag. Specifies that the product submitted manually
        $this->validateComponent('product');
        $this->addProduct();
    }
protected function submitAddProduct()
    {
        $this->setSubmitted(null, $this->getParam());
        $this->setSubmitted('form', true); // Internal flag. Specifies that the product submitted manually
        $this->validateComponent('product');
        $this->addProduct();
    }
protected function submitAddProduct ( ) { $ this -> setSubmitted ( null , $ this -> getParam ( ) ) ; $ this -> setSubmitted ( 'form' , true ) ; // Internal flag. Specifies that the product submitted manually $ this -> validateComponent ( 'product' ) ; $ this -> addProduct ( ) ; }
Add a new product at once
Add a new product at once