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

  Рет қаралды 53,896

SAIFI CODE

SAIFI CODE

Күн бұрын

CODE Link used in this video :
saificode.blogspot.com/2022/0...
Welcome To Saifi Code, In This Video We Have Discussed Following Queries :
1.Shopping Cart React.js Project with Explanation
2.How to create simple ecommerce website using reactjs
3.How to make react shopping website/react js shopping cart
We have focused on How to make react js shopping cart for beginners , to make it beginners friendly , we have used updated react js functional component. This is a basic react js projects for beginners having react js project with source code.
Videos You should also watch to understands this video more clearly
Video 1 ( Add or Remove Fields Dynamically ) : • Add or Remove Input Fi...
Video 2 (API Calls Concept) : • API Call In React JS u...
Video 3 (Responsive Design) : • Media Queries Responsi...
Time Stamps :
00:00 - Project Demo
01:15 - Install Basic React Code
03:51 - Create Header Component
09:32 - Create Product List Component
20:20 - Add to Cart Functionality in React js
25:20 - Cart List Component
39:40 - Show Total Amount
43:00 - Implement + and - Quantity
49:57 - Total Amount Updated
54:24 - Decrease Quantity Button - Handled
55:29 - Other videos Discussion to Understand this more Clearly
Queries on Instagram : / er_naimu_saifi
Channel Credits : Saifi Code🎨💖❓💻✅ MY GITHUB LINK ---- github.com/NaimuddinNaimuddin

Пікірлер: 147
@amancollege9064
@amancollege9064 7 күн бұрын
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 7 күн бұрын
Sure bro will try my best
@ThugLifes-ob9df
@ThugLifes-ob9df Жыл бұрын
happy to see u back
@AnjanDas-rw2xh
@AnjanDas-rw2xh 4 ай бұрын
Bahut kuch sikhne ko mila. Now i am confident on react. State management easily kar lunga
@SaifiCode
@SaifiCode 4 ай бұрын
Good bro keep it up
@naimuddin6303
@naimuddin6303 Жыл бұрын
it really helpful to have video like this keep making such videos
@SaifiCode
@SaifiCode Жыл бұрын
Thank you, I will
@codewithravi8549
@codewithravi8549 Жыл бұрын
Nice and easy explaination.More better than my Institute.
@SaifiCode
@SaifiCode Жыл бұрын
Glad to hear that
@saifitech2.097
@saifitech2.097 Жыл бұрын
Appreciate your efforts to make videos and nice explanation
@SaifiCode
@SaifiCode Жыл бұрын
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
@triptivyas2521
@triptivyas2521 10 ай бұрын
Somehow I managed with audio but...the content helped me a lot Thanks ...
@SaifiCode
@SaifiCode 10 ай бұрын
You're welcome
@hafizsherazhanifkhan7775
@hafizsherazhanifkhan7775 7 ай бұрын
Zabardast bro Allah apko jaza ata farmaye
@SaifiCode
@SaifiCode 7 ай бұрын
Shukriya bro keep supporting I need supporters like you
@sonamojha5342
@sonamojha5342 Жыл бұрын
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 Жыл бұрын
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
@imran-khan_fans8484
@imran-khan_fans8484 Жыл бұрын
Very helpful for me bro thanks ❤
@SaifiCode
@SaifiCode Жыл бұрын
keep watching
@VirusOnEarth
@VirusOnEarth Күн бұрын
best ever video sir
@SaifiCode
@SaifiCode 14 сағат бұрын
Thank you keep supporting💪
@editingsaifi9150
@editingsaifi9150 Жыл бұрын
Wow sir
@ajitkumarpandey4397
@ajitkumarpandey4397 Жыл бұрын
i am waiting for next part of this video
@SaifiCode
@SaifiCode Жыл бұрын
Coming soon bro
@abhishekKumar-lh3pc
@abhishekKumar-lh3pc Жыл бұрын
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 Жыл бұрын
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
@sandeepmaurya1694
@sandeepmaurya1694 Жыл бұрын
Thank you so much sir
@SaifiCode
@SaifiCode Жыл бұрын
All the best bro
@rajeevyadav-np3fg
@rajeevyadav-np3fg 8 сағат бұрын
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...
@riskid6395
@riskid6395 Жыл бұрын
thanks sir, it helpful❤❤❤
@SaifiCode
@SaifiCode Жыл бұрын
you are welcome riski d
@naimubro5911
@naimubro5911 Жыл бұрын
nice video yaar keep doing..
@SaifiCode
@SaifiCode Жыл бұрын
Thank you so much 😀
@rajeevyadav-np3fg
@rajeevyadav-np3fg 8 сағат бұрын
Suru se btao ye kese bnaya h title img I'd..
@digitaldeveloper7635
@digitaldeveloper7635 Жыл бұрын
great
@SaifiCode
@SaifiCode Жыл бұрын
keep supporting bro , more projects coming soon
@abhi_vj_cutz
@abhi_vj_cutz 11 ай бұрын
ThankYou Sir😍
@SaifiCode
@SaifiCode 11 ай бұрын
You are welcome
@procoding735
@procoding735 Жыл бұрын
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 Жыл бұрын
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
@user-zw1ye3gv8o
@user-zw1ye3gv8o 8 ай бұрын
Thank You sir😊
@SaifiCode
@SaifiCode 8 ай бұрын
Welcome
@CricketNews-iv5op
@CricketNews-iv5op Жыл бұрын
Waiting for this bro
@SaifiCode
@SaifiCode Жыл бұрын
thank u
@poojakalel2648
@poojakalel2648 Жыл бұрын
👍👍
@hfghgfhg2436
@hfghgfhg2436 Жыл бұрын
good
@SaifiCode
@SaifiCode Жыл бұрын
Thanks
@SandeepSingh-ji1eo
@SandeepSingh-ji1eo 9 ай бұрын
nice
@SaifiCode
@SaifiCode 9 ай бұрын
Thanks for watching
@mdrahul7343
@mdrahul7343 7 ай бұрын
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 7 ай бұрын
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
@naimuddin6303
@naimuddin6303 Жыл бұрын
nice vieo bro bt the way
@SaifiCode
@SaifiCode Жыл бұрын
Thanks
@ekamruthgangaraju8827
@ekamruthgangaraju8827 11 ай бұрын
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.
@SaifiCode
@SaifiCode 11 ай бұрын
Sure bro . In my new videos i have worked on volume issue
@ekamruthgangaraju8827
@ekamruthgangaraju8827 11 ай бұрын
Great man, appreciate you!
@tubeyou9007
@tubeyou9007 Жыл бұрын
Have you used Redux for state management?
@SaifiCode
@SaifiCode Жыл бұрын
hi , i have done it without redux
@tubeyou9007
@tubeyou9007 Жыл бұрын
@@SaifiCode thanks! A I am searching for redux. Is there any video of u with Redux?
@SaifiCode
@SaifiCode Жыл бұрын
Check the redux playlist on my channel , waiting for your feedback there. Thank you
@malikbhai2285
@malikbhai2285 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
Good , I will be happy to make videos on these topics
@rajeevyadav-np3fg
@rajeevyadav-np3fg 8 сағат бұрын
Bahut der ho gyi isme mujhe img nhi a rhi
@mobpsycho6600
@mobpsycho6600 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@SaifiCode check your insta
@SaifiCode
@SaifiCode Жыл бұрын
ok bro
@rafeekahmad9979
@rafeekahmad9979 Жыл бұрын
Good video by the way Thanksgiving
@SaifiCode
@SaifiCode Жыл бұрын
Thanks! You too!
@sanketlondhe7725
@sanketlondhe7725 10 ай бұрын
Sir, GitHub ki konsi repo me hai ye vode
@SaifiCode
@SaifiCode 10 ай бұрын
Ye blog me hai
@TechnoSaifi
@TechnoSaifi Жыл бұрын
Nice
@SaifiCode
@SaifiCode Жыл бұрын
Thanks
@creatorboy4901
@creatorboy4901 Жыл бұрын
Please make more videos
@SaifiCode
@SaifiCode Жыл бұрын
sure bro
@manyagupta8679
@manyagupta8679 Ай бұрын
Thank you sir 💕
@SaifiCode
@SaifiCode Ай бұрын
You are welcome
@Arshu-xn8ft
@Arshu-xn8ft 7 ай бұрын
Bhai next part toh daal dete yaar 😢 channel pe itna dhunda kahi nhi hai 2nd part
@SaifiCode
@SaifiCode 7 ай бұрын
Iske baad bro me ecommerce series me lag gaya tha . Iske upar phir detail me series kiya maine. Waise time nikal ke me iska 2 part bhi launga
@litunkhan4309
@litunkhan4309 Жыл бұрын
Local storage use kare. Ho Kya bhi ?
@SaifiCode
@SaifiCode Жыл бұрын
litun bro , we have used state only to save data temporary
@litunkhan4309
@litunkhan4309 Жыл бұрын
@@SaifiCode bhi react par or vi project banao use local storage plz bhi
@SaifiCode
@SaifiCode Жыл бұрын
@@litunkhan4309 sure bro
@user-lg4uu3ts6x
@user-lg4uu3ts6x 29 күн бұрын
Assalamualaikum
@SaifiCode
@SaifiCode 27 күн бұрын
Wa alekum assalam
@Dev-Phantom
@Dev-Phantom Жыл бұрын
aacha tha
@SaifiCode
@SaifiCode Жыл бұрын
you are welcome bro
@AbhishekKumar-xw7dz
@AbhishekKumar-xw7dz Жыл бұрын
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 Жыл бұрын
Aapko kitna padhna hai aur kis type se padhna hai agar aap kuch detail me bataye to me apki help zaroor karunga
@talhahaider2186
@talhahaider2186 Жыл бұрын
sir how can we delete a particular item in cart
@SaifiCode
@SaifiCode Жыл бұрын
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 kzbin.info/www/bejne/h5K1cpmMnM2bn7c 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 Жыл бұрын
always welcome , keep learning , keep supporting
@talhahaider2186
@talhahaider2186 Жыл бұрын
@@SaifiCode Allhumdulillah sir hoagay thank you soo much sir 🖤🖤🖤🖤
@SaifiCode
@SaifiCode Жыл бұрын
You are welcome , keep supporting my channel
@monirhossain6288
@monirhossain6288 Жыл бұрын
How can I separated item by seller??
@SaifiCode
@SaifiCode Жыл бұрын
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 Жыл бұрын
Thanks for your replied.
@bheeralingbheeraling3316
@bheeralingbheeraling3316 7 ай бұрын
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 7 ай бұрын
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
@kaushikjadav5824
@kaushikjadav5824 9 ай бұрын
How can i download full project source code ?
@SaifiCode
@SaifiCode 9 ай бұрын
Bro iska source code available nahi hai mere pass
@digitaldeveloper7635
@digitaldeveloper7635 Жыл бұрын
mujhe react mai expert honay kai tips bbatay
@SaifiCode
@SaifiCode Жыл бұрын
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 Жыл бұрын
@@SaifiCode ok ok but my js is weak
@SaifiCode
@SaifiCode Жыл бұрын
Javascript is not difficult ,you just need to learn the basics
@Movie_ki_kahani
@Movie_ki_kahani 4 ай бұрын
Make lots of projects and practice
@SaifiCode
@SaifiCode 4 ай бұрын
@Movie_ki_kahani yes
@editingsaifi9150
@editingsaifi9150 Жыл бұрын
Support sir ❤️
@SaifiCode
@SaifiCode Жыл бұрын
sure bro welocme
@editingsaifi9150
@editingsaifi9150 Жыл бұрын
@@SaifiCode sir community post please
@Dev-Phantom
@Dev-Phantom Жыл бұрын
CART?.map((cartItem, cartindex) => { why this ? is used , and what is it called, please any body reply
@Dev-Phantom
@Dev-Phantom Жыл бұрын
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.
@creatorboy4901
@creatorboy4901 Жыл бұрын
On react
@SaifiCode
@SaifiCode Жыл бұрын
will try my best
@bheeralingbheeraling3316
@bheeralingbheeraling3316 7 ай бұрын
Es error video bejo sir
@SaifiCode
@SaifiCode 7 ай бұрын
check the link bro saificode.blogspot.com/2022/08/shopping-cart-reactjs-project-with.html
@bheeralingbheeraling3316
@bheeralingbheeraling3316 7 ай бұрын
Sir not work sir
@isurusandaruwan4769
@isurusandaruwan4769 Жыл бұрын
bro focus on UI
@SaifiCode
@SaifiCode Жыл бұрын
sure bro
@bheeralingbheeraling3316
@bheeralingbheeraling3316 7 ай бұрын
Sir giving the error sir plz solutions give me sir
@SaifiCode
@SaifiCode 7 ай бұрын
Share me err details on insta i will try to resolve
@bheeralingbheeraling3316
@bheeralingbheeraling3316 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
This error giving sir plz slove sir
@bheeralingbheeraling3316
@bheeralingbheeraling3316 7 ай бұрын
3 error
@mohitgoyal598
@mohitgoyal598 Жыл бұрын
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 Жыл бұрын
new series start kiya h maine bro wo dekho
@creatorboy4901
@creatorboy4901 Жыл бұрын
Movie ui
@SaifiCode
@SaifiCode Жыл бұрын
movie ui pe like kis type se can you explain more bro thank you by the way
@user-tu7yv8ns2y
@user-tu7yv8ns2y Жыл бұрын
thanks bhai
@SaifiCode
@SaifiCode Жыл бұрын
Welcome bro
@mdmeshkathossain259
@mdmeshkathossain259 Жыл бұрын
sound is too poor
@SaifiCode
@SaifiCode Жыл бұрын
yes bro that was little slow recorded , sorry for that
@mdmeshkathossain259
@mdmeshkathossain259 Жыл бұрын
@@SaifiCode but explain is very good ,, already subscribed.. carry on
@SaifiCode
@SaifiCode Жыл бұрын
@@mdmeshkathossain259 keep supporting bro from my new videos i will take care of this
@mitadas7084
@mitadas7084 Жыл бұрын
Bhai kafi sara error hai
@SaifiCode
@SaifiCode Жыл бұрын
will resolve errors in next part
@SaifiCode
@SaifiCode Жыл бұрын
check the new ecom web dev series playlist
@temujin9344
@temujin9344 Ай бұрын
Bhai iska second part kaha hai ap iska KZbin link de sakte hai ?
@SaifiCode
@SaifiCode Ай бұрын
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 Ай бұрын
@@SaifiCode apka jo E-commerce wala video hai 8 hrs wala wo dekhna hai ?
Custom Hooks in React (Design Patterns)
12:56
Cosden Solutions
Рет қаралды 30 М.
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 18 МЛН
[Vowel]물고기는 물에서 살아야 해🐟🤣Fish have to live in the water #funny
00:53
Тяжелые будни жены
00:46
К-Media
Рет қаралды 5 МЛН
Shopping Cart | React.js Project with explanation | Beginner
36:10
React Shopping Cart in 2022 || Using Hooks and React Router
50:42
Code&Coding
Рет қаралды 120 М.
HTMX is amazing!
10:16
Maximilian Schwarzmüller
Рет қаралды 14 М.
Build a Shopping Cart🛒 Using Redux Toolkit  | React Redux Toolkit Tutorial
1:02:36
How To Add To Cart Shopping using HTML CSS and Javascript
29:49
Shopping Cart | React.js Project with explanation
19:15
Code For U
Рет қаралды 66 М.
Understand Angular Signals in 20 Minutes
20:17
Igor Sedov
Рет қаралды 4,9 М.
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 18 МЛН