Laravel 8 E-Commerce - Cart Settings for Checkout
HTML-код
- Опубликовано: 28 сен 2024
- In this video I will talk about Cart Settings for Checkout.
TOPIC DISCUSSED:
Cart Settings for Checkout
Send Cart Price to Checkout
Your Queries -
1.How to do cart settings for checkout in laravel 8 ecommerce?
2.How to send cart price on checkout page in laravel 8 ecommerce?
3.What are the steps for doing cart settings for checkout in laravel 8 ecommerce?
4.What are the steps for sending cart price to checkout in laravel 8 ecommerce?
Template Url:
github.com/sur...
FOLLOW SURFSIDE MEDIA:
/ surfsidem
/ mediasurfside
github.com/sur...
/ surfsidemedia
#laravel #laravel8 #laravel8x
Symfony\Component\Routing\Exception\RouteNotFoundException
Route [checkout] not defined. are me the only one have this problem
Route::get('/checkout', CheckoutComponent::class)->name('checkout');
@@ariescage3940 i do it and not solve with me
Thanks a lot i fix it with this code
Thanks you, can you please show how to integrate Payfast payment gateway on this project?
Thank you!
♥
anyone here had this kind of issue, where in the cart page is displaying "your cart is empty" which means my cart is empty and when i click "shop now" to add product to cart, eventually it will display the product i added but here comes the issue it will still show me "your cart is empty".
which means it's not tracking the product to cart am i right ?
someone please help. thank you
@surfsideMedia
@if(Cart::instance('cart')->count() > 0)
@if(Session::has('success_message'))
Success {{Session::get('success_message')}}
@endif
@if(Cart::instance('cart')->count() > 0)
Products Name
@foreach (Cart::instance('cart')->content() as $item)
{{ $item->model->name }}
{{ $item->model->regular_price }}
{{ $item->subtotal }}
Delete from your cart
@endforeach
@else
No item in Cart
@endif
Order Summary
Subtotal$ {{ Cart::instance('cart')->subtotal() }}
Tax$ {{ Cart::instance('cart')->tax() }}
ShippingFree Shipping
Total{{ Cart::instance('cart')->total() }}
I have
promo code
Check out
Continue Shopping
Clear Shopping Cart
Update Shopping Cart
@else
Your Cart is Empty!
Add item to it now
Shop Now
@endif
same problem ..did you manage to solve it?
if you have this problem Route [checkout] not defined.
then add ->name('checkout'); in the web.php file
line ----------------------------------
Route::get('/checkout', CheckoutComponent::class)->name('checkout');
Thank you ❤
amazing , it's working fine with me now.
That is amayzing .Thank you very much sir
Symfony\Component\Routing\Exception\RouteNotFoundException
Route [checkout] not defined. are me the only one have this problem
@Surfside Media Please
i make this
public function checkout() {
if (Auth::check())
{
return redirect()->to('/checkout');
}
else {
return redirect()->route('login');
}
}
redirect()->to(url)
@@AhmedIbrahim-qd9xc thanks and God bless
@@fredfrank9408 and you
to acompanhando desde o primeiro vídeo, top demais as explicações, os ensinamentos, a palavra aqui é GRATIDÃO!!!!
Mais um brasileiro , show.
How to add delivery charge order summary
thanks you..waiting for next videos
you are amazing keeppppp it up brother
Excellent it worked for me from Colombia a big greeting.
When you finish your project how to upload it to the web?
Sir can you update your github please? There are few errors we are facing.
thanks bro.. waiting for next tutorial.
How to remove tax
Thank you!
Hello sir, can you make a tutorial for product subcategories and brands? That will be very helpful
The brands would be similar to the categories, create the components, copy the category code and change some things and that's it.
public function checkout()
{
if (Auth::check()) {
return redirect()->route('checkout');
} else {
return redirect()->route('login');
}
}
I have that problem when pressing the checkout button it sends me to the login normally but being logged in it must send me to the checkout, I get this error:
Route [checkout] not defined.
Any file name I put and it is always the same error, if someone can help me.
in web.php change this :
Route::get('/checkout',CheckoutComponent::class);
To this :
Route::get('/checkout',CheckoutComponent::class)->name('checkout');
@@Besk1326 thank you
Hi master, How to add the cart and wishlist on database?
like as cart item order, order_item
A user might log out from the website. So, when the user has logged in to the website again the user will not get the cart items because it saves the value in the session. can you fix it?
did t fixed it dude?
@@kouzokiodin3623 I actually discontinued the project
Sir am in this video now but I have not Seen where you created the checkout form, where can I find it Sir, please.
I have created Checkout Form in 2nd video of Laravel 8 E-Commerce Playlist which title is "Laravel 8 E-Commerce - Create Shop, Cart And Checkout Page".
@@SurfsideMedia thank you very much for the response Sir
@@SurfsideMedia am trying to apply coupon and all the coupons are showing"coupon is invalid"
I created checkout page and route. but while I click on checkout button it says Rout[checkout] not defined. Please help me anyone
i have same problem
I have same problem too how to fix please help teacher
Route::get('/checkout', CheckoutComponent::class)->name('checkout');
@@adenbagja4211 I solved this issue but I forget how I solved it months ago. let me know if you still have this problem.
plzz help me..livewire counter for each product....quantity add to cart.....i made but the isssue is ..when inceament all product of counter increase...any solution plzz
I can solve this!
@@md.nomanparvej6604 ???tell me how
To night i provide you code...
@@md.nomanparvej6604 code??
Ops wait i give you within 3hours