Every retailer will occasionally face inventory problems.
It’s what you do about it that really counts.
Do you make your customers wait till they get to the checkout to break the bad news?
Do you let them know it’s out of stock from the category page and then follow up with optimized out of stock emails to keep them informed?
Do you send ‘back in stock’ email alerts to let them know when it’s available for purchase again?