returns the number of each product purchased
view all product sales complete in ui and code.