grab data from text and number inputs and add item to 'to-purchase' list