Laravel 9 Ecom - Part 39: Checkout & place order using livewire in laravel 9 | Cash on Delivery

  Рет қаралды 7,785

Funda Of Web IT

Funda Of Web IT

Күн бұрын

In this video, I have taught how to make or create checkout page and place order in laravel livewire.
While placing order, we create the order and store all the ordered items from the cart of authenticated user and delete all the items from the cart of auth user after order placed successfully.
Please watch next video for Checkout Updates: • Laravel 9 Ecom - Part ...
Laravel 9 Ecommerce Source code: www.fundacodes...
Checkout Page Template Design: www.fundaofweb...
Laravel 9 Ecom Playlist: • Laravel 9 Ecommerce - ...
Follow us on Instagram: / funda_of_web_it
Subscribe to my Hindi/Urdu Channel: / fundaofwebithindi

Пікірлер: 28
@abdulaziztursunqulov1577
@abdulaziztursunqulov1577 2 жыл бұрын
Assalomu alaykum zo'r video juda tushunarli sizni qullab quvvatlayman juda zo'r
@j.m.5433
@j.m.5433 Жыл бұрын
A-m-a-z-i-n-g!! I would like to thank you. The best tutorial I've ever done.
@rajansharma509
@rajansharma509 2 жыл бұрын
Please thoda thoda ajax aur jQuery bhi use kar lijiye sir ye bhi Sikh jayenge lo is project me
@ahmedsannyaaron5659
@ahmedsannyaaron5659 2 жыл бұрын
Great Sir
@fundaofwebit
@fundaofwebit 2 жыл бұрын
Thank you. Please keep supporting me.
@TusharZambare
@TusharZambare 2 жыл бұрын
hope so you will complete this project with deployment on host. can you show notification system like facebook.
@farmboy4354
@farmboy4354 2 жыл бұрын
Thanks for another awesome logical video I learned a lot from your videos and web tutorials. I have few questions if you can solve this: 1. Don't you decrease product quantity while checkout. Because if product max quantity is 5 and I ordered 2 then new product quantity should be 3 right. 2. While adding product in cart I have set quantity as 5 and max is also 5 but message popup that only 5 quantity is available. When I decrease to 4 its added to cart and again in cart I can update to 5. Hope you understand this. 😊
@fundaofwebit
@fundaofwebit 2 жыл бұрын
For 1. Ya, will update this is next video. Thanks For 2. Please checkout in the comment the of quantity video for decrementQuantity()
@hagarosama5724
@hagarosama5724 2 жыл бұрын
for 2. just add >= and it will be solved
@fkwebdev
@fkwebdev 11 ай бұрын
@@hagarosama5724 exactly I also did this and it also works well with just "=="
@putrilaila274
@putrilaila274 Жыл бұрын
I have a question why if I put "Cart::where('user_id', auth()->user()->id)->delete();" in "if" it didnt delete the cart item but if I put it in "else" it delete the cart item. Even if I put it in "else" The data is still added in the php myadmin just like yours.
@meetsakariya-qi3cs
@meetsakariya-qi3cs 5 ай бұрын
Sir jab me checkout karta hu tab muje error aata he ki phone null he
@jayadevrath2364
@jayadevrath2364 2 жыл бұрын
Superb
@Hamza-yq7sj
@Hamza-yq7sj 2 жыл бұрын
How i select the colour before placing order.
@farmboy4354
@farmboy4354 2 жыл бұрын
I can't see your total amount while checkout is it increasing while adding phone number and pincode even address. Thanks in advance
@farmboy4354
@farmboy4354 2 жыл бұрын
to fix this issue i use wire:model.defer in basic info
@fundaofwebit
@fundaofwebit 2 жыл бұрын
@@farmboy4354 also please add $this->totalProductAmount = 0; in public function totalProductAmount() in the beginning itself.
@farmboy4354
@farmboy4354 2 жыл бұрын
@@fundaofwebit Thanks its working perfect now.. 🙂
@ComedyCampaigns
@ComedyCampaigns 2 жыл бұрын
How we can use the livewire direct route (Instead of that first we create a normal controller and view then crate livewire view and controller)
@farmboy4354
@farmboy4354 2 жыл бұрын
Hi, You can use it in web route livewire class instead of controller and call directly livewire pages. But its little difficult to add the layouts. I tried but wire:model are not getting called. If layouts not getting call means all important links and scripts will not call.
@ShahzaibKhan-wh5hh
@ShahzaibKhan-wh5hh 2 жыл бұрын
sir please include this functionality add 1 product multiple attributes and multiple color and size
@peterkovacs9086
@peterkovacs9086 2 жыл бұрын
Hi in this shop cant order anything without registration?
@fundaofwebit
@fundaofwebit 2 жыл бұрын
No. But you can make it, and you have to store your cart items in cookie or session, then you can continue without registration to the checkout page with all mandatory details.
@mochamadisrosidqi9019
@mochamadisrosidqi9019 Жыл бұрын
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'payment_id' cannot be null help me, I don't know the solution
@fundaofwebit
@fundaofwebit Жыл бұрын
Go to database, edit the column payment_id and check the null checkbox
@steenrabol2378
@steenrabol2378 2 жыл бұрын
is the code shared anywhere ?
@official_pooja21
@official_pooja21 Жыл бұрын
wire:model="" & wire:click=" " not working please help
@fundaofwebit
@fundaofwebit Жыл бұрын
Make sure, you added the livewire scripts and styles in the extended layouts.
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 17 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 23 МЛН
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 31 МЛН
Laravel 9 Ecom - Part 35: Display Cart items using Livewire in Laravel 9
20:45
multi step form tutorial next js react hook form
2:26:36
Santiago manso
Рет қаралды 2,5 М.
DHH - Ruby on Rails, 37signals, and the future of web development
1:09:57
Laravel "Add to Cart": With/Without Livewire [LIVE-CODING]
24:37
Laravel Daily
Рет қаралды 49 М.
Learn Web Development And ACTUALLY Get A Job | Ultimate Guide
1:33:52
James Cross
Рет қаралды 1,4 МЛН
Hands-On Power BI Tutorial 📊Beginner to Pro [Full Course] ⚡
3:05:45
Pragmatic Works
Рет қаралды 2,2 МЛН
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57