filmov
tv
Laravel 10 Tutorial #50 | Manage Products (VII) | Insert Product Details | Add Laravel Validations

Показать описание
In Part-50 of the Laravel 10 Tutorial, we will continue working on the Products module. In this video, we will insert product details in the products table and will display them on the view products page. And will also work on Laravel validations for adding product.
1) Update addEditProduct function :-
First of all, we will update the addEditProduct function to get posted data and debug all product data that is coming fine. After that, add Laravel validations for mandatory data like category_id, product_name, product_code, product_price, product_color, and family_color.
3) Update addEditProduct function :-
Update the addEditProduct function once again to write the query to save the products data in the products table. We will return to add products page again with a success message after saving the product.
In the next video, we will work on adding a product video and will retain all product information if some data is missing while adding the product.
Thanks for watching :)
Popular Stack Developers Series that can help you:-
►Join this channel to get the complete source code of all series:
Follow Stack Developers on Social Media to get updates and resolve your queries
#laravel10 #laravel10tutorial #laravel