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

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ม.ค. 2025

ความคิดเห็น • 47

  • @johnxina3536
    @johnxina3536 ปีที่แล้ว +4

    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 11 หลายเดือนก่อน

    Thanks man, you showed me how to solve the problem that has been bugging my mind.

  • @suneelmekala54
    @suneelmekala54 ปีที่แล้ว +1

    Excellent explanation brother. Keep it up🙂💚

  • @ironrival9651
    @ironrival9651 2 ปีที่แล้ว +1

    Thank you this series keep getting better and better.👍👍👍

  • @ManasHandore
    @ManasHandore 2 ปีที่แล้ว +1

    how can i add axios post method in addToCart reducer. I tried but getting error 400 bad req.

  • @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 ?

  • @incodeuz
    @incodeuz ปีที่แล้ว +1

    what font is used in your vscode ?

  • @cirog.9341
    @cirog.9341 ปีที่แล้ว

    Thank you! This has been very helpful

  • @RychAhlberg
    @RychAhlberg 8 หลายเดือนก่อน

    This isn’t working for me idk why

  • @gsrcreations108
    @gsrcreations108 2 ปีที่แล้ว

    push do mutation in existing array so use of 'concat' would be good instead of push. Am i correct?

  • @dexcoder1207
    @dexcoder1207 3 ปีที่แล้ว +1

    Thank you so much for this tutorials. i was searching for this type of tutorials on redux toolkit

    • @ChaooCharles
      @ChaooCharles  3 ปีที่แล้ว +1

      You are welcome 💯

    • @dexcoder1207
      @dexcoder1207 3 ปีที่แล้ว

      @@ChaooCharles sir looking for a tutorial on the react authentication with firebase. thank you

  • @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

  • @satyamgarg8035
    @satyamgarg8035 11 หลายเดือนก่อน

    Thank You for this amazing content

  • @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.

  • @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!))

  • @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

  • @justp5924
    @justp5924 ปีที่แล้ว

    First time nimepatanana mtu wetu🤭😁 piga subscription mara that that🤭 niwega chalo😂

  • @elgaucho956
    @elgaucho956 2 ปีที่แล้ว

    Very helpfull bro, thanks a lot, keep recording this high level material 👏👏👏

  • @stayhappy4307
    @stayhappy4307 2 ปีที่แล้ว

    Nice tutorial get my cart issue resolved thanks a lot🙃

  • @jahangirshirinov6941
    @jahangirshirinov6941 2 ปีที่แล้ว

    god bless you mate!

  • @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.

  • @HoangNguyen-zv3xb
    @HoangNguyen-zv3xb 2 ปีที่แล้ว +1

    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 ?

  • @ihorvoznyi1506
    @ihorvoznyi1506 2 ปีที่แล้ว

    Thank u so much !

  • @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 :-)

  • @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

  • @samahgad241
    @samahgad241 ปีที่แล้ว

    thank you very clear

  • @mrak870
    @mrak870 ปีที่แล้ว

    Thank you

  • @thefrustratedboyy
    @thefrustratedboyy 3 ปีที่แล้ว

    very nice and informative tutorial appretiate

  • @petriwork77
    @petriwork77 3 ปีที่แล้ว

    yes broooooooooooooo!

  • @olga_lc
    @olga_lc 2 ปีที่แล้ว

    I would have never guessed to use findIndex method