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.

  • And what's the problem? Where is your code in which something does not work? - Nikolaj Sarry
  • so that's the problem, I don’t even know where to start)) at this point, I can throw off the code where I process the price list, where I check if there is a product like this in the database, where I add product and descriptor tables, but what does it give ?)) I need to sort out the categories and here’s a stupor on them - Arthur Sysoev

0