Stockouts cost retailers an estimated $1 trillion every year, and shoppers experience stockouts as frequently as every third shopping trip in some verticals.