Загрузка...

#55 Laravel 11 Tutorial with MongoDB | Update Header Menu | Show Categories and Sub Categories

►Laravel 11 Tutorial (with MongoDB): https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTn3ft4BMaAilhZJYLMs9d

This is Part 55 of the Laravel 11 Tutorial in which we are building the e-commerce website with Laravel as the front end and MongoDB as the back end.

In this part, we will start working on the header menu where we will show Categories, Sub-Categories, and Sub Sub-Categories in the header menu at the navigation bar.

First, we will resolve one Roles & Permission issue. Subadmins can able to access other subadmins details right now that we will not allow.

Update subadmins function:-
We will update the subadmins function at AdminController to resolve this issue.

Now, we will start working on the header menu.

Disable or Remove below navigation1 at line 73 that is not required.

Update header.blade.php :-
We will include the Category model and call the getCategories function in header.blade.php and integrate foreach loop categories, sub-categories, and sub-sub-categories in the header menu.

We will only show those categories that have subcategories under it otherwise we will not show them.

Now we are able to show Categories and Sub Categories dynamically in the header menu. We can add/remove any of the categories for the changes to take effect in the menu.

In the next part, we will work further on making the home page dynamic.

Thanks for watching :)

►Click here to subscribe for Laravel & other updates - https://www.youtube.com/stackdevelopers

Popular Stack Developers Series that can help you:-

►Laravel 10 Tutorial Playlist: https://www.youtube.com/playlist?list=PLLUtELdNs2ZbX7T5wgbBR9wUXt5YPG-hm

►Laravel Multi-Vendor E-commerce Website - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ

►React JS Tutorial for Beginners with Laravel - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYnEIWliBpU98gtorNRNHw1

►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

#laravel11 #laravel11tutorial #mongodb

Видео #55 Laravel 11 Tutorial with MongoDB | Update Header Menu | Show Categories and Sub Categories канала Stack Developers
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

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

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