I am trying to create a freemium style application, it is a stock control application.
Where the free user can only add 5 products to control the stock and the paid user has no product limit.
The problem is that I cannot think of how to impose this limitation in case the free user tries to upload 6 products, does not allow it and shows an error message.
Add a new collection called ‘product count’
Property 1 - Name
Property 2 - User (relationship - user can have multiple product count, a product count belongs to 1 user)
Now in the add product screen for the free user do this:
In this screen there will be an icon like maybe - ‘add to cart’
On this icon put an extra action - Create Product count (name = empty, user = logged in user)
Now add 1 more extra action to this button:
Link to ‘Upgrade to Premium’ Modal
with an advance condition:
‘Current user --> Product count --> count’ is greater than 5!
Thanks, use something similar. But also using component visibility.
For example, I have a single form (premium and free), both can access, but create a button that directs the user to the form if they have less than 5 items in the collection. If you have more and it is premium, the button is hidden and an exclusive button for premium users appears that removes that limitation.
Hi,
My apologies for interfering - just wanted to warn you about Apple’s policy of in-app purchases, so that the app might be blocked for App Store publishing. As I understand, Apple requires to process the payments for non-physical products via their purchases system, and Adalo doesn’t support it yet (AFAIK).
Just a gentle warning - stumbled upon this issue (not sure reg. Google).