Add query parameter processing to product controller