Добавить
Уведомления

Laravel 9 Tutorial #23 | Create Laravel 9 MultiVendor | Approve Vendors (III) | Active/Inactive

Laravel 9 Tutorial from the beginning:- https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ In Part-23 of the Laravel 9 Tutorial to create a Multi-Vendor E-commerce Website in Laravel, we will work on the admins management section in the admin panel in which we will show admins, subadmins and vendors. Super Admin will have full control over it and can make them active/inactive. In this video, we are going to add functionality to make admins active/inactive from the admin panel. 1) Update admins.blade.php file:- First of all, we will update the admins.blade.php file to add updateAdminStatus class and admin id to Active/Inactive status with icons. 2) Update custom.js:- Now add the jquery function to send current status and admin id to function via ajax so that we can update admin status. 3) Create Route:- Now create a Post route to update admin status in the web.php file like below :- // Update Admin Status Route::post('update-admin-status','AdminController@updateAdminStatus'); 4) Create updateAdminStatus:- Now create updateAdminStatus to update the status of the admin and return to Ajax so that we can update the icon according to admin status. ►Laravel 9 Tutorial (Create Multi-Vendor E-commerce Website) - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ ►Get Ready for Laravel 9 - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYVb9lco6OnloSFyBLZU3tz ►Click here to subscribe for Laravel & other updates - https://www.youtube.com/stackdevelopers Popular Stack Developers Series that can help you:- ►Laravel Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZaHaFmydqjcQ-YyeQ19Cd6u ►GIT Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZVQ-dLOMFWvmCCduzJ8c6R ►Laravel API Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbcCsd4yAAiBU2L3ROREk8P ►Laravel Interview Questions - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbzB_1Jdp_yFcORwOfWP8RU ►jQuery Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbMYoUA46GIonOH29KcjtxA ►Laravel Basic E-commerce Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZY5drPxIWzpq5crhantlzp7 ►Laravel Dating Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZrPUnxjlomErJfNvkyS6Hf ►Join this channel to get the complete source code of all series: https://www.youtube.com/channel/UCExO2i-tLU1NyVZD6zOJQlw/join Follow Stack Developers on Social Media to get updates and resolve your queries ►Like Facebook Page to get updates - http://facebook.com/stackdevelopers2/ ►Join Facebook Group to resolve your queries - http://facebook.com/groups/stackdevelopers ►Follow on Instagram - https://www.instagram.com/stackdevelopers2/ ►Follow on GitHub - https://github.com/stackdevelopers #laravel9 #laravel9tutorial #laravel

12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

Laravel 9 Tutorial from the beginning:- https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ In Part-23 of the Laravel 9 Tutorial to create a Multi-Vendor E-commerce Website in Laravel, we will work on the admins management section in the admin panel in which we will show admins, subadmins and vendors. Super Admin will have full control over it and can make them active/inactive. In this video, we are going to add functionality to make admins active/inactive from the admin panel. 1) Update admins.blade.php file:- First of all, we will update the admins.blade.php file to add updateAdminStatus class and admin id to Active/Inactive status with icons. 2) Update custom.js:- Now add the jquery function to send current status and admin id to function via ajax so that we can update admin status. 3) Create Route:- Now create a Post route to update admin status in the web.php file like below :- // Update Admin Status Route::post('update-admin-status','AdminController@updateAdminStatus'); 4) Create updateAdminStatus:- Now create updateAdminStatus to update the status of the admin and return to Ajax so that we can update the icon according to admin status. ►Laravel 9 Tutorial (Create Multi-Vendor E-commerce Website) - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ ►Get Ready for Laravel 9 - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYVb9lco6OnloSFyBLZU3tz ►Click here to subscribe for Laravel & other updates - https://www.youtube.com/stackdevelopers Popular Stack Developers Series that can help you:- ►Laravel Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZaHaFmydqjcQ-YyeQ19Cd6u ►GIT Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZVQ-dLOMFWvmCCduzJ8c6R ►Laravel API Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbcCsd4yAAiBU2L3ROREk8P ►Laravel Interview Questions - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbzB_1Jdp_yFcORwOfWP8RU ►jQuery Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbMYoUA46GIonOH29KcjtxA ►Laravel Basic E-commerce Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZY5drPxIWzpq5crhantlzp7 ►Laravel Dating Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZrPUnxjlomErJfNvkyS6Hf ►Join this channel to get the complete source code of all series: https://www.youtube.com/channel/UCExO2i-tLU1NyVZD6zOJQlw/join Follow Stack Developers on Social Media to get updates and resolve your queries ►Like Facebook Page to get updates - http://facebook.com/stackdevelopers2/ ►Join Facebook Group to resolve your queries - http://facebook.com/groups/stackdevelopers ►Follow on Instagram - https://www.instagram.com/stackdevelopers2/ ►Follow on GitHub - https://github.com/stackdevelopers #laravel9 #laravel9tutorial #laravel

, чтобы оставлять комментарии