Ironed out logic for showing "out of stock" messages