Return category_id from product class