I am making an app on thunkable. I am trying to make an add to cart button so the items chosen by the user saves. Can you please tell me how to do it.
the cart could be a simple list… i.e. just use the add items to list block and save the list to TinyDB…
- How to work with Lists by Saj
- How to work with Lists and Lists of lists (pdf) by appinventor.org
- TinyDB tutorial by Stephen
do u know how to make that work… at the bottom of my screen, i have an add to cart button. when someone presses that button, I want it to add to cart. at the end of the app, i want a screen that shows ALL the items the user has chosen.
follow the previous recommendations
those recommendations are confusing for me as a beginner
as @Taifun said you have to add item to a list and then manage it for your goal.
This is one way but not the only one!
If you don’t want to use a database delete all the blocks violet named TinyDb.
If you don’t spent a little of time to study at least the basic components, your confusion can only increase exponentially
If you add some pic or relevant block we will help you better
Check out the Thunkable YouTube channel, there are lots of great videos for getting started:
A very good way to learn App Inventor is to read the free Inventor’s Manual here in the AI2 free online eBook http://www.appinventor.org/book2 … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .
Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor
I don’t have that version of thunkable so those blocks are not there for me
also, mine recently upgraded to pro automatically shoudl I be worried
So I think you are using Thunkable X , I changed your discussion tag. If you set Thunkable classic you will receive help for Thunkable Classic
The way is the same. Add item to list and save it in a variable to manage value as you like.
Here docs for LIST
Here docs for VARIABLE
Maybe now (with the right tag) other users can help you, I don’t use Thunkable X
But this app is for an assessment so I HAVE to use Thunkable X