Hi @dickson.alex10 this is @kwakusandy (just realized i have two different bubble accounts). Anyway i’m happy to assist you. Since you’re a bubble beginner and really wants to learn, i will try and assist you as much as i can.
I’m going provide you answers to you question on how to implement your deals idea.
But first off, to be able to develop any system, you need to know the WHAT and the HOW.
Using bubble as an example, you need to know WHAT you want to do and HOW to do it in bubble.
The WHAT concept is the same no matter the programming language you’re using. But the HOW will depend on the language.
If you had a programming background, you will already have knowledge about the WHAT and all you will need to know is HOW to this or that in bubble.
Using your particular situation as an example, the WHAT is knowing that, to be able to keep score on how many times a deal has been used, you will need to have a counter attached to the thing, which is initially set to 0 when the thing is been created. And anytime the thing is used, you retrieve the counter, increment it by one and store it again. This concept will be the same no matter the programming language (e.g. Java, php, bubble, etc) used.
But how to do this will be different from one programming language to another.
Luckily, even as a non-programmer, you can learn the WHAT concepts and the HOW, through looking at examples. So if you haven’t already done it, this is where you will have to spend some time at the bubble learning center (https://bubble.io/documentation).
Believe me spending about that 1hr to go through all the videos (you can skip the long video on responsive design for now) will save you days and weeks of frustration and waiting for answers from our great forum members.
As you watch the videos, ask youself, where in my application can i apply this idea. I don’t know exactly the application you’re building but just looking at the question you asked about creating discount deals for restaurants i can see you applying several of the concepts in the videos, with the exception of the APIs which i’m sure you will need at one point.
Then when you’re done you can look at the lessons so get a practice of the concepts you learn from the video.
I know there is the temptation to dig right into bubble and start developing your application, but believe me, just spending one day going through the bubble documentation will teach you several programming concepts (the WHAT) and HOW to do things in bubble. That was a long speech. Ok i will now give you a possible solution to your specific question.