Hello,
I’m faced with a little challenge and I would surely appreciate your help
If I am building an ecommerce app and I expect my users to put the stock of their product and a belt to say when a product is out of stock, how do i go about this?
i.e i have a stock quantity and i have a reorder quantity and when the stock quantity falls below the reorder quantity i want the product to automatically go “out of stock” and this should apply for all products
Thanks
Hi @motunrayoidkl ,
This is very typical of a order management system. What do you want to happen exactly when an item goes “out of stock”? For the Front End to display “out of stock”? For the seller to get an email?
Best,
Alex
dowcoaching.com
Helping entrepreneurs build their app through 1 on 1 coaching and asynchronous videos
Hi Alex,
yes for the front end to display out of stock
Thanks
Hi @motunrayoidkl ,
Got it. All you have to do is in the Design tab of bubble, where you allow a user to add an item to their cart or purchase an item, you put a conditional on the button that says “When this item’s stock is 0, then disable this button”.
This is what the condition for the button will look like:

Here’s an example app that shows you how to accomplish this:
Best,
Alex
dowcoaching.com
Helping entrepreneurs build their app through 1 on 1 coaching and asynchronous videos