#36 Laravel 10 Tutorial | Categories Module (III) | Active/Inactive/Delete Categories in Admin Panel

Veröffentlicht am: 01 Januar 1970
auf dem Kanal: Stack Developers
1,184
16

►Laravel 10 Tutorial Playlist:    • Laravel 10 Tutorial: Make Admin Panel / E-...  

In Part-36 of the Laravel 10 Tutorial, we will continue working on the Categories module. In this video, we will work on active/inactive functionality and delete functionality for the categories.

First, we will work on the active/inactive status for categories in the admin panel.

1) Update categories.blade.php file:-
Add updateCategoryStatus class with id and category_id for active/inactive status at categories.blade.php file

2) Create Route:-
Create Post route to update status of category in web.php file :-
Route::post('update-category-status','CategoryController@updateCatgoryStatus');

3) Create updateCategoryStatus function :-
Create updateCategoryStatus function in CategoryController to update the category status to active or inactive.

4) Update custom.js file :-
Add jquery function to update active/inactive status for categories in custom.js file.

Now we will work on delete functionality for categories

Add delete link, Create Route and function

►Click here to subscribe for Laravel & other updates -    / stackdevelopers  

Popular Stack Developers Series that can help you:-

►Laravel Multi-Vendor E-commerce Website -    • Laravel Multi Vendor Tutorial  

►React JS Tutorial for Beginners with Laravel -    • React JS Tutorial with Laravel for Beginners  

►Laravel Tutorial for Beginners -    • Laravel Tutorial for Beginners | Advance E...  

►GIT Tutorial for Beginners -    • Git Tutorial for Beginners | Create your F...  

►Laravel API Tutorial -    • Laravel API Tutorial | Create API from Scr...  

►Laravel Interview Questions -    • Laravel Interview Questions & Answers | 20...  

►jQuery Tutorial -    • jQuery Tutorial  

►Laravel Basic E-commerce Series -    • Make Admin Panel / E-commerce Website in L...  

►Laravel Dating Series -    • Make Dating / Social Networking Website in...  

►Join this channel to get the complete source code of all series:
   / @stackdevelopers  

Follow Stack Developers on Social Media to get updates and resolve your queries
►Like Facebook Page to get updates -   / stackdevelopers2  
►Join Facebook Group to resolve your queries -   / stackdevelopers  
►Follow on Instagram -   / stackdevelopers2  
►Follow on GitHub - https://github.com/stackdevelopers

#laravel10 #laravel10tutorial #laravel


Auf dieser Seite können Sie das Online-Video #36 Laravel 10 Tutorial | Categories Module (III) | Active/Inactive/Delete Categories in Admin Panel mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Stack Developers 01 Januar 1970 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,184 Mal angesehen und es wurde von 16 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!