#10 How To Show Product In Cart In Laravel 9 | Laravel E-commerce Project Tutorial For Beginners

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

Web Tech Knowledge

Web Tech Knowledge

Күн бұрын

Font Awesome CDN Link : fontawesome.co...
Laravel E-commerce Project Tutorial Playlist: • Laravel E-commerce Pro...
Buy me a Coffee 🥰 : www.buymeacoff...
#10 How To Show Product In Cart In Laravel | Laravel E-commerce Project Tutorial For Beginners
How To Show Product In Cart In Laravel |
#10 Laravel E-commerce Project Tutorial For Beginners
Thanks For Watching.
Support This Channel :
Join this channel to get access to perks:
/ @webtechknowledge
Your support will be really appreciated.
I hope This video was helpful.
If you have any questions then let me know in the comment section.
Best of luck.
#webtechknowledge
You can connect with me with the given links below:
Please Subscribe to this channel: / @webtechknowledge
Join this channel to get access to perks:
/ @webtechknowledge
Follow me on :
Facebook Link: / yaminshakil07
Instagram Link: / yamin_shakil
Twitter Link: / yaheashakil

Пікірлер: 18
@roshannafiz8698
@roshannafiz8698 2 жыл бұрын
Like This
@jabirkhan8897
@jabirkhan8897 2 жыл бұрын
you should add only user id in cart table instead of name, address and phone. these things you can add in checkout option.
@salmasheikh3480
@salmasheikh3480 2 жыл бұрын
wow
@hiroshkoshilah_kulis808
@hiroshkoshilah_kulis808 3 жыл бұрын
How the quantity can be changed in admin's products table? (decrease quantity when user add some quantities into the carts table and how to increase product table quantity again when user remove items from the cart?)
@jamesclaveria2906
@jamesclaveria2906 Жыл бұрын
Attempt to read property "phone" on null how to fix this?
@nicanderr
@nicanderr 6 күн бұрын
this error shows that there is no data in the phone field. you can manually insert from the phpmyadmin or add "?? ' '" right after $product->phone so it will look something like this: {{$product->phone ?? ' '}}. the ?? ' ' is to help bypass the error when there cant be any info found on a specific field
@kiranuk_90s
@kiranuk_90s 2 жыл бұрын
ErrorException Undefined variable $data (View: C:\Users\kiran\OneDrive\Desktop\laravelproject\ordersystem esources\views\user\product.blade.php) sir please give me a solution
@WebTechKnowledge
@WebTechKnowledge 2 жыл бұрын
You probably did not send data from controller properly
@md.alomgirhossainsummer182
@md.alomgirhossainsummer182 2 жыл бұрын
Undefined variable: count (View: F:\Ecommerce1 esources\views\user\home.blade.php)
@happyhappy-jl6yq
@happyhappy-jl6yq 2 жыл бұрын
$count is undefined. Why throwing this error
@WebTechKnowledge
@WebTechKnowledge 2 жыл бұрын
When you are showing the cart data you also need to send the count from the controller to view.i also ahowed this in the video.. I think you fast forward that part
@happyhappy-jl6yq
@happyhappy-jl6yq 2 жыл бұрын
@@WebTechKnowledge I have thrown data from controller to view.
@WebTechKnowledge
@WebTechKnowledge 2 жыл бұрын
Did you also send the count to the cart view?
@HungLe-uj1ky
@HungLe-uj1ky 2 жыл бұрын
@@happyhappy-jl6yq in home controller you need to send count in view.home and showcart both and this will show
@shivamprajapati407
@shivamprajapati407 2 жыл бұрын
in the home controller I sent the count $count=cart::where('phone', $user->phone)->count(); return view('user.home', compact('data', 'count')); but this gives an error in home.blade.php saying it is undefined here Cart[{{$count}}].....please look into this
@muddasirkhan2487
@muddasirkhan2487 Жыл бұрын
use this code into redirect function then its work, i think u use in index else function
@yosramahjoub
@yosramahjoub Жыл бұрын
ur email please
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 4 МЛН
ТИПИЧНОЕ ПОВЕДЕНИЕ МАМЫ
00:21
SIDELNIKOVVV
Рет қаралды 1,9 МЛН
The Easiest Way to Build Websites
10:56
Sajid
Рет қаралды 551 М.
Laravel 9 E-Commerce - Shopping Cart
25:40
Surfside Media
Рет қаралды 21 М.
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН