Complete Shopping Cart 🛒 - 11 Add Product to Cart | React and Redux Toolkit Course 🔥

  Рет қаралды 80,674

Chaoo Charles

Chaoo Charles

Күн бұрын

Пікірлер: 47
@johnxina3536
@johnxina3536 Жыл бұрын
Thank you for this tutorial, I was not able to make the add to cart by myself, This video solved my all problems
@NativeCoding-s1e
@NativeCoding-s1e 5 ай бұрын
Thank you so much. This is what I am looking for. You save my time brother. I have been strugling for hours today.
@CodeWithASB
@CodeWithASB 10 ай бұрын
Thanks man, you showed me how to solve the problem that has been bugging my mind.
@ironrival9651
@ironrival9651 2 жыл бұрын
Thank you this series keep getting better and better.👍👍👍
@ChaooCharles
@ChaooCharles 2 жыл бұрын
You're welcome 😊
@suneelmekala54
@suneelmekala54 Жыл бұрын
Excellent explanation brother. Keep it up🙂💚
@cirog.9341
@cirog.9341 Жыл бұрын
Thank you! This has been very helpful
@incodeuz
@incodeuz Жыл бұрын
what font is used in your vscode ?
@ManasHandore
@ManasHandore 2 жыл бұрын
how can i add axios post method in addToCart reducer. I tried but getting error 400 bad req.
@satyamgarg8035
@satyamgarg8035 11 ай бұрын
Thank You for this amazing content
@dexcoder1207
@dexcoder1207 3 жыл бұрын
Thank you so much for this tutorials. i was searching for this type of tutorials on redux toolkit
@ChaooCharles
@ChaooCharles 3 жыл бұрын
You are welcome 💯
@dexcoder1207
@dexcoder1207 3 жыл бұрын
@@ChaooCharles sir looking for a tutorial on the react authentication with firebase. thank you
@MorningstarMiracle-wi4uq
@MorningstarMiracle-wi4uq Жыл бұрын
Thanks bro for this video.. i love it.. it seems u didn't do the next video u talk abt at the ending i can't find it.. num12 .. where is it ?
@abdulmalikzihad3542
@abdulmalikzihad3542 2 жыл бұрын
thanks man is a lots help to me. love from bangladesh
@saeedkhazalvand4821
@saeedkhazalvand4821 2 жыл бұрын
Hello Chaoo, first thanks for your great content, I have some question...how can I connect u directly
@gsrcreations108
@gsrcreations108 2 жыл бұрын
push do mutation in existing array so use of 'concat' would be good instead of push. Am i correct?
@agams9960
@agams9960 2 жыл бұрын
Hey!! How do i store the cart details in the database?
@olga_lc
@olga_lc 2 жыл бұрын
Thanks a lot, you saved my cart!))
@ChaooCharles
@ChaooCharles 2 жыл бұрын
You're welcome
@RychAhlberg
@RychAhlberg 8 ай бұрын
This isn’t working for me idk why
@justp5924
@justp5924 Жыл бұрын
First time nimepatanana mtu wetu🤭😁 piga subscription mara that that🤭 niwega chalo😂
@ChaooCharles
@ChaooCharles Жыл бұрын
Asanti 😂😂
@stayhappy4307
@stayhappy4307 2 жыл бұрын
Nice tutorial get my cart issue resolved thanks a lot🙃
@ChaooCharles
@ChaooCharles 2 жыл бұрын
That's good 👍
@samahgad241
@samahgad241 Жыл бұрын
thank you very clear
@SandhyaKumari-q1y
@SandhyaKumari-q1y 3 ай бұрын
Can you tell me the product which is being added to the cart is being stored in redux toolkit but the problem is that it is getting removed on refreshing the page and if kept in local storage then the user can temper the price. What should I do?
@ChaooCharles
@ChaooCharles 3 ай бұрын
can store the product and quantity on local storage, but during payment can double check the price of the product by using the price of product from db, could fetch the product again by id during price processing.
@jahangirshirinov6941
@jahangirshirinov6941 2 жыл бұрын
god bless you mate!
@elgaucho956
@elgaucho956 2 жыл бұрын
Very helpfull bro, thanks a lot, keep recording this high level material 👏👏👏
@ChaooCharles
@ChaooCharles 2 жыл бұрын
You're welcome 😊
@ihorvoznyi1506
@ihorvoznyi1506 2 жыл бұрын
Thank u so much !
@HoangNguyen-zv3xb
@HoangNguyen-zv3xb 2 жыл бұрын
Thank you for the vid! where did you define cartQuantity? I thought it would generate an undefined error when you call the state.cartItems[itemIndex].cartQuantity
@TienNguyen-og5eo
@TienNguyen-og5eo 11 ай бұрын
so where did he define it ?
@mrak870
@mrak870 Жыл бұрын
Thank you
@jeseekiigu8434
@jeseekiigu8434 2 жыл бұрын
Very informative. Just wondering why I get a "TypeError: undefined is not an object (evaluating 'state.cartItems.findIndex')" yet i have properly cartItems on the initialState. Specific to react native.
@thefrustratedboyy
@thefrustratedboyy 3 жыл бұрын
very nice and informative tutorial appretiate
@ChaooCharles
@ChaooCharles 3 жыл бұрын
You're welcome
@newbiedevtons
@newbiedevtons 2 жыл бұрын
If we refresh the page then will the data in cart still there in store?
@ChaooCharles
@ChaooCharles 2 жыл бұрын
You can use local storage for consistency. Check the rest of the videos I covered it.
@ChaooCharles
@ChaooCharles 2 жыл бұрын
The next video actually, episode 12
@ericmomoh7927
@ericmomoh7927 2 жыл бұрын
Hope I am not late, you can also use redux persist also know as the redux storage. Or you can use something like database or the json server
@nnamdidanielosuji452
@nnamdidanielosuji452 2 жыл бұрын
Hello Charles please can you make a video on that your Ecommerce project where users can view each particular item.... for instance let's say I click on iPhone 12, I would want to navigate to a new page where all the details about the iPhone 12 would be displayed... Thanks
@nayeembaig
@nayeembaig 2 жыл бұрын
imports --- import { Link, useNavigate } from 'react-router-dom'; and then user tag around button like this Anytext ps: hope im not late :-)
@petriwork77
@petriwork77 3 жыл бұрын
yes broooooooooooooo!
@upasanapatil9624
@upasanapatil9624 Жыл бұрын
TypeError: (0 , _features_CartSlice__WEBPACK_IMPORTED_MODULE_6__.addToCart) is not a function Hello, I am getting this error when clicking on add to cart button
@olga_lc
@olga_lc 2 жыл бұрын
I would have never guessed to use findIndex method
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Redux Tutorial (with Redux Toolkit)
19:28
Net Ninja
Рет қаралды 351 М.
Netflix Removed React?
20:36
Theo - t3․gg
Рет қаралды 75 М.
Best of CES 2025
14:50
The Verge
Рет қаралды 623 М.
React State Management using Redux (Build a shopping Cart🔥 )
1:09:58
The Full Stack Junkie
Рет қаралды 71 М.
How To Create An Advanced Shopping Cart With React and TypeScript
1:01:38
Web Dev Simplified
Рет қаралды 362 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН