there is an array of data from the price, in it under $ row_file [6] there is a category of goods, it is necessary to determine which category from the site it belongs to and then assign the category id to the product which is from the price for this category.
название категории id-категории Бра (настенные) 18 Бра (настенные) > Классика, Модерн (Eurosvet) 45 Бра (настенные) > Оптима (Eurosvet) 75 Бра (настенные) > Хрусталь (Eurosvet) 46 Встраиваемые точечные светильники 24 And there are a lot of such categories, you have to go through all and if a category from the price list fits into some category from the site, then we make a request in the database and write this product to this category in the table. (I’ll make the request to the database and adding) To make a search from what I have, there is a category name from the price list and there are categories from the site.