added vendor, sales, and number of sales methods in products.rb