Building a Shopping Cart with Getx, Stripe and Firebase | PART 2

  Рет қаралды 16,613

Santos Enoque

Santos Enoque

Күн бұрын

Пікірлер: 53
@codewithsebastian
@codewithsebastian 6 ай бұрын
This is nice, but one thing I think is crucial in professional app development is, 1. You wouldn't let any changes you make from the app affect the database like that especially with firebase where every read and write counts. >>Suggestion would be transfer the cart calculations to the app and only send a completed order to the database. >> However, you may want to save the cart items in local storage to maximise the chances of the user buying that product next time they visit the app or send notification if a cart item stays in cartList for a particular period of time. Nonetheless nice video, I was looking for inspiration on how products page/ cart page should look like and this did wonders.
@SantosEnoque
@SantosEnoque 6 ай бұрын
Thank you very much
@thaliaamargianou7870
@thaliaamargianou7870 3 жыл бұрын
Great tutorials! Would be nice to see getx and hive in a project! Bravo and thanks for sharing your knowledge!!!
@SantosEnoque
@SantosEnoque 3 жыл бұрын
Thank for the support
@Juliapak
@Juliapak 2 жыл бұрын
you are helping me win a hackathon!
@abdifatahnour4191
@abdifatahnour4191 3 жыл бұрын
My friend please may you add these features if you can 1. On item click view page. 2. Cash or offline payment.
@magdyzoraa
@magdyzoraa 3 жыл бұрын
Thank you for sharing , great tutorial
@SantosEnoque
@SantosEnoque 3 жыл бұрын
Thanks for watching
@ryancitocoreano
@ryancitocoreano 3 жыл бұрын
Are there no error following this video for you?
@kittabunsukkasem8945
@kittabunsukkasem8945 3 жыл бұрын
Thanks for this great video !
@alikerivan8716
@alikerivan8716 3 жыл бұрын
Finally part 2 is here.....
@SantosEnoque
@SantosEnoque 3 жыл бұрын
Now wait for the final part
@alikerivan8716
@alikerivan8716 3 жыл бұрын
@@SantosEnoque OK sir, we appreciate your efforts to let others benefit from your skills.
@meetpanchal5747
@meetpanchal5747 2 жыл бұрын
can we build a cart same like this without any database included??? please reply
@SteveKeddy2009
@SteveKeddy2009 3 жыл бұрын
How can we use get_Storage to change the collection in the product_controller.dart file?
@ryancitocoreano
@ryancitocoreano 3 жыл бұрын
when I increase the quantity of the product, UI is not updated till I save any file on VS Code...
@SteveKeddy2009
@SteveKeddy2009 3 жыл бұрын
Hi Santos - Great videos! I have one small problem Im struggling with. How can I change the collection string in product_controller ? Is there a way using provider to change the query string so that we can build a shopping cart with several categories? Or would shrared preferences be a viable option for this? I cant seem to find a way to manipulate this controller class. Any suggestions?
@Entertainment--Shorts
@Entertainment--Shorts 3 жыл бұрын
I have downloaded your source code, have created a database in firestore like you, but I can see the cards. Always get the result in debug console: E/flutter ( 6639): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: NoSuchMethodError: Class 'String' has no instance method 'toDouble'. E/flutter ( 6639): Receiver: "18.0" E/flutter ( 6639): Tried calling: toDouble() new ProductModel.fromMap " E/flutter ( 6639): #2 "ProducsController.getAllProducts.." I dont know, where exactly could be the problem. Do you have any Idea?
@hashankannangara8723
@hashankannangara8723 3 жыл бұрын
Thanks for this video !
@RashidAlii
@RashidAlii 2 жыл бұрын
my item is adding to cart but not showing in cart screen please any solution
@rajpotdar6903
@rajpotdar6903 3 жыл бұрын
I am getting an error while adding the clicking on the cart button on the top. it says map method was called null? Can you tell what should we do to solve that error?
@ezharmahesa7764
@ezharmahesa7764 3 жыл бұрын
Same problem , are you solved ? Pliss tell mi
@ihtishamjaveed4405
@ihtishamjaveed4405 3 жыл бұрын
@@ezharmahesa7764 Bro you find any solution
@ezharmahesa7764
@ezharmahesa7764 3 жыл бұрын
@@ihtishamjaveed4405 no bro
@ihtishamjaveed4405
@ihtishamjaveed4405 3 жыл бұрын
@@ezharmahesa7764 bro remove bool from method _isItemAlreadyAdded(ProductModel product)
@ezharmahesa7764
@ezharmahesa7764 3 жыл бұрын
@@ihtishamjaveed4405 thx bro , it really help me
@jaydippawar6372
@jaydippawar6372 3 жыл бұрын
Hey bro, curiously waiting for final part, please upload it asap🤗
@ryancitocoreano
@ryancitocoreano 3 жыл бұрын
I've got an error on the line 32, 34 of cart_item.dart "Unhandled Exception: NoSuchMethodError: Class 'String' has no instance method 'toDouble'." toDouble doesn't work for this case? I tried cost = double.parse(data[COST]) error message indicates between data and [COST], "data>here
@ryancitocoreano
@ryancitocoreano 3 жыл бұрын
Weird... I changed code to cost = double.parse(data[COST].toString()); then, it is working... ;;;
@SvgymEntertainments
@SvgymEntertainments 3 жыл бұрын
Thanks you for sharing brother 🙏
@blesfemy
@blesfemy 3 жыл бұрын
One crucial thing that is missing from this, is the shoe sizes. This app wouldn't be functional without it.
@SantosEnoque
@SantosEnoque 3 жыл бұрын
Hey mate, actually the goal of this mini projecto is to build a shopping cart, imagine it as a feature pf a shopping app, so here we want tp add products to the user cart and the charge the customers using stripe
@nalbur_
@nalbur_ 3 жыл бұрын
İs that true way using cart with stream? Does it can create some errors because of network problems? We can get items from db and we can calculate price etc. Manually and we can update db. Which is common way which is ideal sir?
@colonelbond4056
@colonelbond4056 3 жыл бұрын
i'm getting errors my cart won't update
@saelmakatwo6537
@saelmakatwo6537 3 жыл бұрын
In the UserModel Page, I face "the operator [] is not defined " error,how to fix this,is there something deprecated i should change ?
@jeremyyeo3227
@jeremyyeo3227 2 жыл бұрын
Did you find a solution?.
@dalyfood582
@dalyfood582 3 жыл бұрын
Thank teacher
@sanrajmalik3872
@sanrajmalik3872 3 жыл бұрын
Any update on salon booking app?
@SantosEnoque
@SantosEnoque 3 жыл бұрын
Its on my list of videos to record
@dracorgaming4188
@dracorgaming4188 3 жыл бұрын
Sir, please help when I add something on cart it doesn't show
@ryancitocoreano
@ryancitocoreano 3 жыл бұрын
Same here, only when I save the file after increasing and decreasing quantity it works. Is removeCartItem working for you? For me? no
@dracorgaming4188
@dracorgaming4188 3 жыл бұрын
@@ryancitocoreano the item I add in cart doesn't show in cart page
@dracorgaming4188
@dracorgaming4188 3 жыл бұрын
@@ryancitocoreano so I worked on a new project and made another ecommerce app
@flutter4devs
@flutter4devs 3 жыл бұрын
Please Create same video using api of mysql database
@muhammadadnanijaz7340
@muhammadadnanijaz7340 3 жыл бұрын
In app purchase. Like google pay using stripe
@SantosEnoque
@SantosEnoque 3 жыл бұрын
Thanks for the suggestion
@friendsexpress6516
@friendsexpress6516 3 жыл бұрын
removeCartItem method can't delete the item if it is the only one in cart, anyone knows why?
@vrundabhalala6498
@vrundabhalala6498 3 жыл бұрын
I have same problem. Did you find any solution?
@ryancitocoreano
@ryancitocoreano 3 жыл бұрын
@@vrundabhalala6498 Did you find any solution?
@calpal101
@calpal101 3 жыл бұрын
12:20 void remove
Flutter Shopping Cart with Getx, Firebase & Stripe (Part 1)
16:48
Santos Enoque
Рет қаралды 64 М.
35 Flutter Tips That Will Change Your Life
10:53
Flutter Mapp
Рет қаралды 312 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
REST API with GetX | Flutter tutorial | Shopping app
26:43
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 102 М.
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 235 М.
Top 30 Flutter Tips and Tricks
6:50
Flutter Mapp
Рет қаралды 576 М.
Don't Use Websockets (Until You Try This…)
6:46
Code With Ryan
Рет қаралды 325 М.
Charging customers in a Flutter Shopping app with Stripe and GetX
49:21
Top 10+ Flutter Channels You didnt know about.
7:36
Santos Enoque
Рет қаралды 10 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 220 М.
🥑📱 Grocery Shop App • Flutter Tutorial ♥
22:05
Mitch Koko
Рет қаралды 113 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН