Загрузка...

E-commerce Website in laravel || Add Product || Part 7-1

E-commerce Website in laravel || Add Product || Part 7-1
#programmingtech.com.pk
Hello Guyzzz today in this video we are going to create add product blade file and add html of our admin template , create products controller, create products model and also create products table manually in phpmyadmin i hope you like this video these are the following steps which we do in this video session

Step 1 : First we create route in web.php
Route::match(['get','post'],'/admin/add-product','ProductsController@addProduct');

Step 2 : In this step we create controller by using this following command
php artisan make:controller ProductsController

Step 3 : In this step we create model by using this following command
php artisan make:model Products

Step 4 : In ProductController.php we add function
public function addProduct(Request $request){
return view('admin.products.add_product');
}

Step 5 : we create folder inside admin name products inside products folder we create file name add_product.blade.php

Step 6 : We copy the form section into add_customer.html file and paste in the add_product blade file

Step 7 : We edit and manage the text field which we required

Step 8 : We create table in database and add some attributes which we need to save our records

Step 9 : We continue this video in next session due to video length

Thanks for watching
***************************************************
1.Our Website : https://www.programmingtech.com.pk/
2. The way shop template : https://zee.gl/MMXL
3. Admin Panel : https://zee.gl/CmaKpa

Visual Studio Code Download link : https://zee.gl/YbexvS

Please subscribe to my channel and press the bell icons to recieve latest video notification thanks in advance

http://www.youtube.com/ProgrammingTech

Видео E-commerce Website in laravel || Add Product || Part 7-1 канала Amaan Chaudhary
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять