Add conditions to product controller