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.
@SantosEnoque6 ай бұрын
Thank you very much
@thaliaamargianou78703 жыл бұрын
Great tutorials! Would be nice to see getx and hive in a project! Bravo and thanks for sharing your knowledge!!!
@SantosEnoque3 жыл бұрын
Thank for the support
@Juliapak2 жыл бұрын
you are helping me win a hackathon!
@abdifatahnour41913 жыл бұрын
My friend please may you add these features if you can 1. On item click view page. 2. Cash or offline payment.
@magdyzoraa3 жыл бұрын
Thank you for sharing , great tutorial
@SantosEnoque3 жыл бұрын
Thanks for watching
@ryancitocoreano3 жыл бұрын
Are there no error following this video for you?
@kittabunsukkasem89453 жыл бұрын
Thanks for this great video !
@alikerivan87163 жыл бұрын
Finally part 2 is here.....
@SantosEnoque3 жыл бұрын
Now wait for the final part
@alikerivan87163 жыл бұрын
@@SantosEnoque OK sir, we appreciate your efforts to let others benefit from your skills.
@meetpanchal57472 жыл бұрын
can we build a cart same like this without any database included??? please reply
@SteveKeddy20093 жыл бұрын
How can we use get_Storage to change the collection in the product_controller.dart file?
@ryancitocoreano3 жыл бұрын
when I increase the quantity of the product, UI is not updated till I save any file on VS Code...
@SteveKeddy20093 жыл бұрын
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--Shorts3 жыл бұрын
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?
@hashankannangara87233 жыл бұрын
Thanks for this video !
@RashidAlii2 жыл бұрын
my item is adding to cart but not showing in cart screen please any solution
@rajpotdar69033 жыл бұрын
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?
@ezharmahesa77643 жыл бұрын
Same problem , are you solved ? Pliss tell mi
@ihtishamjaveed44053 жыл бұрын
@@ezharmahesa7764 Bro you find any solution
@ezharmahesa77643 жыл бұрын
@@ihtishamjaveed4405 no bro
@ihtishamjaveed44053 жыл бұрын
@@ezharmahesa7764 bro remove bool from method _isItemAlreadyAdded(ProductModel product)
@ezharmahesa77643 жыл бұрын
@@ihtishamjaveed4405 thx bro , it really help me
@jaydippawar63723 жыл бұрын
Hey bro, curiously waiting for final part, please upload it asap🤗
@ryancitocoreano3 жыл бұрын
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
@ryancitocoreano3 жыл бұрын
Weird... I changed code to cost = double.parse(data[COST].toString()); then, it is working... ;;;
@SvgymEntertainments3 жыл бұрын
Thanks you for sharing brother 🙏
@blesfemy3 жыл бұрын
One crucial thing that is missing from this, is the shoe sizes. This app wouldn't be functional without it.
@SantosEnoque3 жыл бұрын
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_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?
@colonelbond40563 жыл бұрын
i'm getting errors my cart won't update
@saelmakatwo65373 жыл бұрын
In the UserModel Page, I face "the operator [] is not defined " error,how to fix this,is there something deprecated i should change ?
@jeremyyeo32272 жыл бұрын
Did you find a solution?.
@dalyfood5823 жыл бұрын
Thank teacher
@sanrajmalik38723 жыл бұрын
Any update on salon booking app?
@SantosEnoque3 жыл бұрын
Its on my list of videos to record
@dracorgaming41883 жыл бұрын
Sir, please help when I add something on cart it doesn't show
@ryancitocoreano3 жыл бұрын
Same here, only when I save the file after increasing and decreasing quantity it works. Is removeCartItem working for you? For me? no
@dracorgaming41883 жыл бұрын
@@ryancitocoreano the item I add in cart doesn't show in cart page
@dracorgaming41883 жыл бұрын
@@ryancitocoreano so I worked on a new project and made another ecommerce app
@flutter4devs3 жыл бұрын
Please Create same video using api of mysql database
@muhammadadnanijaz73403 жыл бұрын
In app purchase. Like google pay using stripe
@SantosEnoque3 жыл бұрын
Thanks for the suggestion
@friendsexpress65163 жыл бұрын
removeCartItem method can't delete the item if it is the only one in cart, anyone knows why?