added product out of stock error handling.