- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Laravel 11 MongoDB Tutorial #130: Manage Shipping Costs (II) | Update Country wise Shipping Charges
►Laravel 11 Tutorial (with MongoDB): https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTn3ft4BMaAilhZJYLMs9d
This is Part 130 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. We will continue working on the Shipping Charges module.
In this part, we will apply shipping charges for the country at the front end of the checkout page and will also add it in grand total of the order.
1) Create getShippingCharges function :-
First of all, create getShippingCharges function in ShippingCharge.php Model in which we will pass country to get the shipping charges from shipping_charges table.
2) Update checkout function :-
Now update checkout function at ProductController to get the shipping charges from the shipping country of the user.
We will call getShippingCharges function to get the shipping charges based on the user delivery country.
3) Update checkout.blade.php file :-
We will update checkout page to show the shipping charges of the delivery country of the user. And we will also add those shipping charges to the total price.
4) Update custom.js file :-
We will update addressAddEditForm, editAddress, removeAddress and setDefaultAddress jQuery functions to redirect to checkout page on success so that we can calculate shipping charges according to updated delivery country.
5) Update checkout function :-
Finally, we will update Posted data of checkout function to get the shipping charges based on delivery country and calculate grand total according to it.
6) Update setDefaultDeliveryAddress function :-
Update setDefaultDeliveryAddress function at AddressController and update the is_default value with 0 and 1 int value instead of string.
For integrating Product weight-wise shipping, please follow below videos:
https://www.youtube.com/watch?v=aBu-PsYERIY&list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ&index=191
https://www.youtube.com/watch?v=FUQyTb1vOI4&list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ&index=192
►Click here to subscribe for Laravel & other updates - https://www.youtube.com/stackdevelopers
Popular Stack Developers Series that can help you:-
►Laravel 11 PostgreSQL Tutorial: https://www.youtube.com/playlist?list=PLLUtELdNs2ZZy4jI-wu4jYUL7rbvC8Mgh
►Laravel 10 Tutorial: https://www.youtube.com/playlist?list=PLLUtELdNs2ZbX7T5wgbBR9wUXt5YPG-hm
►Laravel Multi-Vendor E-commerce Series - 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 #mongodb #mongodbtutorial
Видео Laravel 11 MongoDB Tutorial #130: Manage Shipping Costs (II) | Update Country wise Shipping Charges канала Stack Developers
This is Part 130 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. We will continue working on the Shipping Charges module.
In this part, we will apply shipping charges for the country at the front end of the checkout page and will also add it in grand total of the order.
1) Create getShippingCharges function :-
First of all, create getShippingCharges function in ShippingCharge.php Model in which we will pass country to get the shipping charges from shipping_charges table.
2) Update checkout function :-
Now update checkout function at ProductController to get the shipping charges from the shipping country of the user.
We will call getShippingCharges function to get the shipping charges based on the user delivery country.
3) Update checkout.blade.php file :-
We will update checkout page to show the shipping charges of the delivery country of the user. And we will also add those shipping charges to the total price.
4) Update custom.js file :-
We will update addressAddEditForm, editAddress, removeAddress and setDefaultAddress jQuery functions to redirect to checkout page on success so that we can calculate shipping charges according to updated delivery country.
5) Update checkout function :-
Finally, we will update Posted data of checkout function to get the shipping charges based on delivery country and calculate grand total according to it.
6) Update setDefaultDeliveryAddress function :-
Update setDefaultDeliveryAddress function at AddressController and update the is_default value with 0 and 1 int value instead of string.
For integrating Product weight-wise shipping, please follow below videos:
https://www.youtube.com/watch?v=aBu-PsYERIY&list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ&index=191
https://www.youtube.com/watch?v=FUQyTb1vOI4&list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ&index=192
►Click here to subscribe for Laravel & other updates - https://www.youtube.com/stackdevelopers
Popular Stack Developers Series that can help you:-
►Laravel 11 PostgreSQL Tutorial: https://www.youtube.com/playlist?list=PLLUtELdNs2ZZy4jI-wu4jYUL7rbvC8Mgh
►Laravel 10 Tutorial: https://www.youtube.com/playlist?list=PLLUtELdNs2ZbX7T5wgbBR9wUXt5YPG-hm
►Laravel Multi-Vendor E-commerce Series - 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 #mongodb #mongodbtutorial
Видео Laravel 11 MongoDB Tutorial #130: Manage Shipping Costs (II) | Update Country wise Shipping Charges канала Stack Developers
mongodb mongo db mongodb tutorial mongoodb laravel tutorial Laravel MongoDB Tutorial Overview of MongoDB install mongodb on windows setup mongodb on windows Insert data into MongoDB with Laravel get data in laravel from mongodb MongoDB CRUD laravel 11 laravel 11 tutorial laravel 11 ecommerce laravel 11 mongodb php8 laravel 10 authentication php full course laravel laravel tutorial MongoDB Tutorial laravel 10 course for beginners laravel multi vendor
Комментарии отсутствуют
Информация о видео
9 октября 2024 г. 18:30:32
00:17:59
Другие видео канала




















