Adding logic for products