Shopping Cart React.js Project with Explanation✅ [Simple Ecommerce Website using Reactjs ] with code

Поділитися
Вставка
  • Опубліковано 12 вер 2024

КОМЕНТАРІ • 171

  • @amancollege9064
    @amancollege9064 3 місяці тому +2

    this is what we actually want to learn in WEB DEV ❤people used to learn the html and css and focus only on style rather than working ...plz make more videos like that it will help more students.

    • @SaifiCode
      @SaifiCode  3 місяці тому +2

      Sure bro will try my best

  • @umairmithoo2673
    @umairmithoo2673 10 днів тому +1

    Allah pak apko jaza da Mashallah bht acha sa explain kiy hai ap na and isi video ko daikh ka main na apka channel bhi subscribe kiya and like bhi kiya thanks a lot

  • @naimuddin6303
    @naimuddin6303 2 роки тому +5

    it really helpful to have video like this keep making such videos

  • @ThugLifes-ob9df
    @ThugLifes-ob9df 2 роки тому +3

    happy to see u back

  • @triptivyas2521
    @triptivyas2521 Рік тому +2

    Somehow I managed with audio but...the content helped me a lot Thanks ...

  • @umairmithoo2673
    @umairmithoo2673 10 днів тому +1

    and you have a very good blog also have you post any video about routing in react

  • @codewithravi8549
    @codewithravi8549 Рік тому +2

    Nice and easy explaination.More better than my Institute.

  • @saifitech2.097
    @saifitech2.097 2 роки тому +3

    Appreciate your efforts to make videos and nice explanation

    • @SaifiCode
      @SaifiCode  2 роки тому +1

      welcome bro

    • @webarrays
      @webarrays Рік тому

      @@SaifiCode can you help me i have a problem with my code when I click on add to card function is running but props are not drilling

  • @abhishekKumar-lh3pc
    @abhishekKumar-lh3pc Рік тому +1

    Bhai apka explanation is so wonderful and very easy for new learner to understand clearly, while developing application i got struck at one point when i implement + or - button after seeing in card their price showing NAN and also + or - button is not working ,i spent lot time to implenet in my way also but failed please help me in comming from that issues.and once again it really helping me to get better understanong of functionality of reactJS.

    • @SaifiCode
      @SaifiCode  Рік тому +1

      Bro aise apka issue nahi samjh aa raha , phir bhi aap string and number zaroor check karna price me agar string me price hai to usko number me convert karna jahan bhi price use ho raha hai

  • @AnjanDas-rw2xh
    @AnjanDas-rw2xh 7 місяців тому +1

    Bahut kuch sikhne ko mila. Now i am confident on react. State management easily kar lunga

    • @SaifiCode
      @SaifiCode  7 місяців тому +1

      Good bro keep it up

  • @hafizsherazhanifkhan7775
    @hafizsherazhanifkhan7775 11 місяців тому +1

    Zabardast bro Allah apko jaza ata farmaye

    • @SaifiCode
      @SaifiCode  11 місяців тому +1

      Shukriya bro keep supporting I need supporters like you

  • @procoding735
    @procoding735 Рік тому +3

    Superb Bro. I completed my task with the help of your video. I have a Question ? if Product A is already in cart. then if we click on Add to cart button of Product A it wont have to add in new row. it just have to increment in its quantity. Hows thats possible? can you explain a lil bit ?
    BTW Thanks for awesome tutorial. ❤❤

    • @SaifiCode
      @SaifiCode  Рік тому +2

      we can maintain some state to save quantity,
      with the object that we save in state,
      check my ecom series on MERN stack for more info

    • @procoding735
      @procoding735 Рік тому

      @@SaifiCode sure thank you

  • @sonamojha5342
    @sonamojha5342 Рік тому +1

    Hi saifi..ur video is really awesome..can you please upload the next part of this whatever you have Mentioned in last min of this video..I have some requirements to complete..If you will do it will be helpful.
    Thank you!!

    • @SaifiCode
      @SaifiCode  Рік тому +1

      Thank you , you find my video helpfull , i will upload the next part of it soon , and also working on some other projects.
      If you have any other project ideas plz share

  • @sandeepmaurya1694
    @sandeepmaurya1694 2 роки тому +2

    Thank you so much sir

  • @ajitkumarpandey4397
    @ajitkumarpandey4397 2 роки тому +2

    i am waiting for next part of this video

  • @shabnamshaikh118
    @shabnamshaikh118 2 місяці тому +1

    Is mango DB used in this project?

    • @SaifiCode
      @SaifiCode  2 місяці тому +1

      This project is using react state only

  • @VirusOnEarth
    @VirusOnEarth 3 місяці тому +1

    best ever video sir

    • @SaifiCode
      @SaifiCode  3 місяці тому +1

      Thank you keep supporting💪

  • @mbh604
    @mbh604 Місяць тому +1

    thank you so much bro

  • @ekamruthgangaraju8827
    @ekamruthgangaraju8827 Рік тому +1

    The content and all is great but your voice is really very low in the video. As an audience I would advice you to increase your default volume in the video.

  • @CricketNews-iv5op
    @CricketNews-iv5op 2 роки тому +2

    Waiting for this bro

  • @Imran_kpk
    @Imran_kpk Рік тому +1

    Very helpful for me bro thanks ❤

  • @mdrahul7343
    @mdrahul7343 11 місяців тому +1

    vai mera Navbar ka compunents alag file me ha...me kase count ko pass karu navbar ma without navbar import because ager ma navbar ko import karu , tu 2 bar navbar aye ga or ma nahe chata mera webiste ma 2bar navbar hu props kase send karu samaj nahe arahaa he plz help me broo .

    • @SaifiCode
      @SaifiCode  11 місяців тому +1

      Bhai navbar ko props ke through pass karo jaise maine isme kiya hai for search and setSearch ke liye jahan se component call hoga wahan se pass karo. Ya apne count ko localstorage me save kar lo aur wahan se get karke navbar me dikha do. Try karo ho jaye to warna mere ko screenshot bhejo insta pe me wahan apko solution deta hu

  • @rajeevyadav-np3fg
    @rajeevyadav-np3fg 3 місяці тому +1

    Yr img kha se la rhe ho ye mujhe samajh nhi a rrha m same aapka wala url use kr rha hu to mere m nhi a rha...

    • @SaifiCode
      @SaifiCode  3 місяці тому

      Aap description me code link hai wahan jake try karo

  • @abhi_vj_cutz
    @abhi_vj_cutz Рік тому +2

    ThankYou Sir😍

  • @malikbhai2285
    @malikbhai2285 2 роки тому +2

    Bro..es project me ap props na use kare ....es ko pele redux me bana phr es ko backent se connect kare..ta k redux..or saga ka bi kuch seekh sakee

    • @SaifiCode
      @SaifiCode  2 роки тому +2

      sure bro , is project me frontend pe hi data hai , isi data ko hum backend se call karenge and will use redux to save data

    • @malikbhai2285
      @malikbhai2285 2 роки тому +2

      @@SaifiCode bas kisi terha se ap muje 4 cheze sekha de...1 image ko data k 7 kese frontend se backen me seave kare
      2. category ko kese banye frontend se phr es ka data bi froned se backend se kese hangele kare
      3. ID ko front end or backend se kese collet kare..
      4.redux or saga
      aj my ap ki redux ki vieo dekh rha ho..or us ki practice bi ker rha ho.

    • @SaifiCode
      @SaifiCode  2 роки тому +1

      Good , I will be happy to make videos on these topics

  • @digitaldeveloper7635
    @digitaldeveloper7635 2 роки тому +2

    great

    • @SaifiCode
      @SaifiCode  2 роки тому +2

      keep supporting bro , more projects coming soon

  • @riskid6395
    @riskid6395 Рік тому +1

    thanks sir, it helpful❤❤❤

  • @naimubro5911
    @naimubro5911 2 роки тому

    nice video yaar keep doing..

    • @SaifiCode
      @SaifiCode  2 роки тому +1

      Thank you so much 😀

  • @tubeyou9007
    @tubeyou9007 Рік тому +1

    Have you used Redux for state management?

    • @SaifiCode
      @SaifiCode  Рік тому +1

      hi , i have done it without redux

    • @tubeyou9007
      @tubeyou9007 Рік тому +1

      @@SaifiCode thanks! A I am searching for redux. Is there any video of u with Redux?

    • @SaifiCode
      @SaifiCode  Рік тому +1

      Check the redux playlist on my channel , waiting for your feedback there. Thank you

  • @prathvin8218
    @prathvin8218 2 місяці тому +1

    How long will it take to install the package?

    • @SaifiCode
      @SaifiCode  2 місяці тому +2

      Depends on net speed, one to five minutes

    • @prathvin8218
      @prathvin8218 2 місяці тому

      Thanks bro

  • @sanketlondhe7725
    @sanketlondhe7725 Рік тому +1

    Sir, GitHub ki konsi repo me hai ye vode

  • @naimuddin6303
    @naimuddin6303 2 роки тому +2

    nice vieo bro bt the way

  • @talhahaider2186
    @talhahaider2186 2 роки тому +2

    sir how can we delete a particular item in cart

    • @SaifiCode
      @SaifiCode  2 роки тому +2

      cart ek array hai , so jis bhi cart item pe click hoga us index se entry ko delete karna hota hai , ya phir map method se bhi remove kar sakte hai given index data ko,
      is video me detail me disscuss kiya h ye main , check ua-cam.com/video/QaRAfVghhiU/v-deo.html
      Shopping cart ka next video bana raha hu to usme data api se call karenge and aur functionalities add karenge
      try and let me know if you still face any issue

    • @SaifiCode
      @SaifiCode  2 роки тому +1

      always welcome , keep learning , keep supporting

    • @talhahaider2186
      @talhahaider2186 2 роки тому +1

      @@SaifiCode Allhumdulillah sir hoagay thank you soo much sir 🖤🖤🖤🖤

    • @SaifiCode
      @SaifiCode  2 роки тому +2

      You are welcome , keep supporting my channel

  • @prathvin8218
    @prathvin8218 2 місяці тому +1

    Im getting an error where u give this
    Product
    It's showing syntax error what do i do

    • @SaifiCode
      @SaifiCode  2 місяці тому +1

      Can you share more details on this

    • @prathvin8218
      @prathvin8218 2 місяці тому +1

      ​​@@SaifiCode
      It's showing error in those angular bracket and the last 2 flower braces (Unexpected token)
      Function ProductList(){
      return {
      product
      }
      }

    • @SaifiCode
      @SaifiCode  2 місяці тому +1

      @@prathvin8218 you are calling product component it should be or if it is variable it should be {product}

    • @prathvin8218
      @prathvin8218 2 місяці тому +1

      @@SaifiCode oh okaay thanks bro🫡

    • @SaifiCode
      @SaifiCode  2 місяці тому

      Is it solved?

  • @rafeekahmad9979
    @rafeekahmad9979 2 роки тому +3

    Good video by the way Thanksgiving

  • @TechnoSaifi
    @TechnoSaifi 2 роки тому +5

    Nice

  • @user-zw1ye3gv8o
    @user-zw1ye3gv8o 11 місяців тому +1

    Thank You sir😊

  • @litunkhan4309
    @litunkhan4309 Рік тому +1

    Local storage use kare. Ho Kya bhi ?

    • @SaifiCode
      @SaifiCode  Рік тому +1

      litun bro , we have used state only to save data temporary

    • @litunkhan4309
      @litunkhan4309 Рік тому +1

      @@SaifiCode bhi react par or vi project banao use local storage plz bhi

    • @SaifiCode
      @SaifiCode  Рік тому

      @@litunkhan4309 sure bro

  • @bheeralingbheeraling3316
    @bheeralingbheeraling3316 10 місяців тому +1

    Compiled with problems:
    A
    ERROR Mc App is 6.0-44
    Module not found: Error: Can't resolve./components/Header.js' in 'C:\Users
    ajab\OneDrive\Desktop
    eact-project
    eacti\src
    ERROR in /src/App js: 7.0-54
    Module not found: Error: Can't resolve ./components/ProductList.js' in 'C:\Users
    ajab\OneDrive\Desktop
    eact-project
    eact1\src
    ERROR in /src/App is 8:0-48
    Module not found: Error: Can't resolve './components/Cartiist.js' in 'C:\Users
    ajab\OneDrive\Desktop
    eact-project
    eact1\src

    • @SaifiCode
      @SaifiCode  10 місяців тому +1

      App. Js file me import jo kiye un sab components ko create karo but src ke andar components folder ke andar karo apna folder structure ka screen shot do insta pe

  • @rajeevyadav-np3fg
    @rajeevyadav-np3fg 3 місяці тому +1

    Suru se btao ye kese bnaya h title img I'd..

    • @SaifiCode
      @SaifiCode  3 місяці тому

      Img ka url aap koi bhi url use jar sakte hai dummy imges urls search karo net pe apko images url mil jayenge wo ap use kar sakte ho

  • @editingsaifi9150
    @editingsaifi9150 Рік тому +1

    Wow sir

  • @AbhishekKumar-xw7dz
    @AbhishekKumar-xw7dz Рік тому +1

    Mujhe na aap se personally pdhna hai or mere friend bhi hai pdhne ke liye ready hai ydi aap ready hai tho please reply me

    • @SaifiCode
      @SaifiCode  Рік тому +2

      Aapko kitna padhna hai aur kis type se padhna hai agar aap kuch detail me bataye to me apki help zaroor karunga

  • @kaushikjadav5824
    @kaushikjadav5824 Рік тому +1

    How can i download full project source code ?

    • @SaifiCode
      @SaifiCode  Рік тому +1

      Bro iska source code available nahi hai mere pass

  • @digitaldeveloper7635
    @digitaldeveloper7635 2 роки тому +3

    mujhe react mai expert honay kai tips bbatay

    • @SaifiCode
      @SaifiCode  2 роки тому +3

      In React you need to understand how state and props works and how can we pass functions from one component to another , except this focus on redux and other react is all about basic javascript

    • @digitaldeveloper7635
      @digitaldeveloper7635 2 роки тому +1

      @@SaifiCode ok ok but my js is weak

    • @SaifiCode
      @SaifiCode  2 роки тому +2

      Javascript is not difficult ,you just need to learn the basics

    • @Movie_ki_kahani
      @Movie_ki_kahani 8 місяців тому +2

      Make lots of projects and practice

    • @SaifiCode
      @SaifiCode  7 місяців тому

      @Movie_ki_kahani yes

  • @monirhossain6288
    @monirhossain6288 2 роки тому +1

    How can I separated item by seller??

    • @SaifiCode
      @SaifiCode  2 роки тому +2

      Monir Hossain Bro , Jab hum backend pe save karenge data to usme seller name bhi save karenge , seller name ke according hum data filter karke separate karte hain , next part me wo add karunga. abhi univeristy project pe work kar raha hu uske baad ye series me next features add karung bro.
      Thnk you for your support

    • @monirhossain6288
      @monirhossain6288 2 роки тому

      Thanks for your replied.

  • @rajeevyadav-np3fg
    @rajeevyadav-np3fg 3 місяці тому +1

    Bahut der ho gyi isme mujhe img nhi a rhi

    • @SaifiCode
      @SaifiCode  3 місяці тому

      Dummy images url use karo lo net pe search karke

  • @hfghgfhg2436
    @hfghgfhg2436 2 роки тому +1

    good

  • @mobpsycho6600
    @mobpsycho6600 Рік тому +1

    Bhai tumhara code me problem h agr agr ek hi product ko do ya usse zyada baar click kr raha to ek new object add ho raha jabke "if (cart.includes(e)) return" statement bhi use kiya h add event pe tab bhi to koi solution h kya?

    • @SaifiCode
      @SaifiCode  Рік тому +2

      Jahan pe bhai array me item push kiya hai wahan check lagate hai
      Like
      if(yourArray.indexOf('item')=== -1){
      YourArray.push(item)
      }
      Agar array me wo item pahle se na ho ta hi push karte hai nahi to nahi karte hai , maine check nahi lagay isliye same product dubara push ho jayega

    • @mobpsycho6600
      @mobpsycho6600 Рік тому +1

      @@SaifiCode check your insta

    • @SaifiCode
      @SaifiCode  Рік тому

      ok bro

  • @creatorboy4901
    @creatorboy4901 2 роки тому +1

    Please make more videos

  • @user-lg4uu3ts6x
    @user-lg4uu3ts6x 4 місяці тому +1

    Assalamualaikum

    • @SaifiCode
      @SaifiCode  4 місяці тому +2

      Wa alekum assalam

  • @Dev-Phantom
    @Dev-Phantom Рік тому +2

    CART?.map((cartItem, cartindex) => {
    why this ? is used , and what is it called, please any body reply

    • @Dev-Phantom
      @Dev-Phantom Рік тому +1

      very informative, thanks for helping.

    • @anshulvairagade1604
      @anshulvairagade1604 Рік тому

      , "CART?.map" is checking to see if the CART object exists and is not null or undefined before attempting to call the "map" method on it. This is useful to prevent errors that would occur if you tried to call a method on a null or undefined object.

  • @saptarsidebnath3516
    @saptarsidebnath3516 Місяць тому +1

    Where is part two?

    • @SaifiCode
      @SaifiCode  13 днів тому +1

      Check complete series in channels playlist section

  • @Dev-Phantom
    @Dev-Phantom Рік тому +1

    aacha tha

  • @manishnegi7150
    @manishnegi7150 2 місяці тому +1

    Api link please

    • @SaifiCode
      @SaifiCode  2 місяці тому +1

      Please check description

  • @poojakalel2648
    @poojakalel2648 Рік тому +1

    👍👍

  • @bheeralingbheeraling3316
    @bheeralingbheeraling3316 10 місяців тому +1

    Sir giving the error sir plz solutions give me sir

    • @SaifiCode
      @SaifiCode  10 місяців тому +1

      Share me err details on insta i will try to resolve

    • @bheeralingbheeraling3316
      @bheeralingbheeraling3316 10 місяців тому

      Compiled with problems:
      A
      ERROR Mc App is 6.0-44
      Module not found: Error: Can't resolve./components/Header.js' in 'C:\Users
      ajab\OneDrive\Desktop
      eact-project
      eacti\src
      ERROR in /src/App js: 7.0-54
      Module not found: Error: Can't resolve ./components/ProductList.js' in 'C:\Users
      ajab\OneDrive\Desktop
      eact-project
      eact1\src
      ERROR in /src/App is 8:0-48
      Module not found: Error: Can't resolve './components/Cartiist.js' in 'C:\Users
      ajab\OneDrive\Desktop
      eact-project
      eact1\src

    • @bheeralingbheeraling3316
      @bheeralingbheeraling3316 10 місяців тому

      Compiled with problems:
      A
      ERROR Mc App is 6.0-44
      Module not found: Error: Can't resolve./components/Header.js' in 'C:\Users
      ajab\OneDrive\Desktop
      eact-project
      eacti\src
      ERROR in /src/App js: 7.0-54
      Module not found: Error: Can't resolve ./components/ProductList.js' in 'C:\Users
      ajab\OneDrive\Desktop
      eact-project
      eact1\src
      ERROR in /src/App is 8:0-48
      Module not found: Error: Can't resolve './components/Cartiist.js' in 'C:\Users
      ajab\OneDrive\Desktop
      eact-project
      eact1\src

    • @bheeralingbheeraling3316
      @bheeralingbheeraling3316 10 місяців тому

      This error giving sir plz slove sir

    • @bheeralingbheeraling3316
      @bheeralingbheeraling3316 10 місяців тому

      3 error

  • @user-ej8kw4kg1d
    @user-ej8kw4kg1d Місяць тому +1

    thank you

  • @bheeralingbheeraling3316
    @bheeralingbheeraling3316 10 місяців тому +1

    Es error video bejo sir

    • @SaifiCode
      @SaifiCode  10 місяців тому +1

      check the link bro saificode.blogspot.com/2022/08/shopping-cart-reactjs-project-with.html

    • @bheeralingbheeraling3316
      @bheeralingbheeraling3316 10 місяців тому

      Sir not work sir

  • @mohitgoyal598
    @mohitgoyal598 Рік тому +2

    Kafi sare errors h sir video m pta nhi aap kase kr leete h practice karke dekho to shi nhi h ye videos aapki

    • @SaifiCode
      @SaifiCode  Рік тому +1

      new series start kiya h maine bro wo dekho

  • @editingsaifi9150
    @editingsaifi9150 Рік тому +1

    Support sir ❤️

  • @creatorboy4901
    @creatorboy4901 2 роки тому +1

    On react

  • @isurusandaruwan4769
    @isurusandaruwan4769 Рік тому +1

    bro focus on UI

  • @mitadas7084
    @mitadas7084 Рік тому +1

    Bhai kafi sara error hai

    • @SaifiCode
      @SaifiCode  Рік тому +1

      will resolve errors in next part

    • @SaifiCode
      @SaifiCode  Рік тому +1

      check the new ecom web dev series playlist

  • @mdmeshkathossain259
    @mdmeshkathossain259 Рік тому +1

    sound is too poor

    • @SaifiCode
      @SaifiCode  Рік тому +1

      yes bro that was little slow recorded , sorry for that

    • @mdmeshkathossain259
      @mdmeshkathossain259 Рік тому +1

      @@SaifiCode but explain is very good ,, already subscribed.. carry on

    • @SaifiCode
      @SaifiCode  Рік тому +1

      @@mdmeshkathossain259 keep supporting bro from my new videos i will take care of this

  • @creatorboy4901
    @creatorboy4901 2 роки тому +1

    Movie ui

    • @SaifiCode
      @SaifiCode  2 роки тому +1

      movie ui pe like kis type se can you explain more bro thank you by the way

  • @Ashokkumar-l2p9o
    @Ashokkumar-l2p9o Рік тому +1

    thanks bhai

  • @temujin9344
    @temujin9344 4 місяці тому +1

    Bhai iska second part kaha hai ap iska UA-cam link de sakte hai ?

    • @SaifiCode
      @SaifiCode  4 місяці тому +2

      Bhai iske baad pura series hai ecom ka app channel. Visit karo wahan mil jayega isme without apis dummy data ke sath sirf ui show kiya detail me series me mil jayega

    • @temujin9344
      @temujin9344 4 місяці тому

      @@SaifiCode apka jo E-commerce wala video hai 8 hrs wala wo dekhna hai ?

  • @manyagupta8679
    @manyagupta8679 5 місяців тому +1

    Thank you sir
    💕

  • @SandeepSingh-ji1eo
    @SandeepSingh-ji1eo Рік тому

    nice