I am creating campaign.
In that campaign i want to add multiple products without refreshing page and store the detail of that products in database.
ProductCatalogController :
public function storeProduct(Request $request)
{
$this->validate($request, $this->rules);
$input=Input::all();
var_dump($input);
exit();
$campaign_product=ProductCatalog::create($input);
return redirect('product_catalog');
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire