I need help!
I am building a marketplace App. (I started building on bubble with zero experience - please help)
In the App, a seller can list one product with multiple quantities. Eg, for one product listing, let’s say a laptop, I am selling 5 quantities.
Now as a buyer, I bought 2 out of the 5 quantities. How do I set up my data type and workflow to communicate this action with listing data that 3 of 5 selling quantities are left? And, when the quantity of laptops bought equals 5, the product is taken off the marketplace, or the product cannot be bought.
Is there a plugin, please help! Thanks
Hi Pattokane, Yes, I listed the products myself on the bubble app I am building so that I can test the functionality. As I test, I can, unfortunately, buy more than the quantities available for sale
You can try and introduce a data field "product_count’ in the data type that represents the products. Then you can limit the max quantity of a certain product that can be bought to this new entry. This way, each time a buyer buys a certain quantity, let’s say 3, you can go ahead and subtract this number to the total ‘product_count’
Hello Denis, thanks for the suggestion. So I have a data field called"quantity_selling" in the data type of Product listing. So when a seller is listing his product, he can add 5 or 10 as the quantity he’s selling, which is then stored as a number in the data field called “quantity selling”. If I create a data field called “product_count”, how do I connect the workflow between the buying quantity, (so minus buying quantity from the maximum quantities offered) and the product_count?
Thank you so much for taking the time to make a sample video for me. It worked!!! Thank you for unblocking this stage in my application development, I really really appreciate it