Laravel 11 with MongoDB #104 | Laravel Checkout (II) | Multiple Delivery Addresses | Show Addresses

Votre vidéo commence dans 10
Passer (5)
Formation gratuite en FR pour les membres inscrits sur les sites de vidéos

Merci ! Partagez avec vos amis !

Vous avez aimé cette vidéo, merci de votre vote !

Ajoutées by
17 Vues
►Laravel 11 Tutorial (with MongoDB): https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTn3ft4BMaAilhZJYLMs9d

This is Part 104 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 one-page checkout process.

In this part, we will display delivery addresses on the checkout page.

1) Create Route:-
Create checkout route if not created yet in web.php file:-
// Checkout
Route::match(['GET','POST'],'/checkout',[ProductFrontController::class,'checkout']);

2) Create checkout function :-
Now create a checkout function in ProductController that we will return to the checkout blade file with getCartItems.

3) Create checkout.blade.php file :-
Create a checkout.blade.php file at /resources/views/front/product/ folder in which we will show the delivery address, cart items, and payment methods.

4) Create deliveryAddresses function:-
Create deliveryAddresses function at DeliveryAddress.php model in which we will get all delivery addresses of the user.

5) Update checkout function:-
Now update the checkout function once again to get the delivery addresses and return to the checkout blade file.

6) Update cart_items.blade.php file :-
Add Continue shopping and Proceed to Checkout Url's at cart_items.blade.php file.

7) Update checkout.blade.php file :-
Update the checkout.blade.php file to show delivery addresses one by one with a radio button.

In the next video, we will work on the "Add Delivery Address" functionality.

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 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
Catégories
E commerce Divers
Mots-clés
mongodb, mongo db, mongodb tutorial

Ajouter un commentaire

Connectez-vous ou inscrivez-vous pour poster un commentaire.

Commentaires

Soyez le premier à commenter cette vidéo.