Hi , all
I have a problem that I can't solve, I have a script that updates the prices and countries of my products based on a code for example
The problem is the following if two products have the same code then it modifies both. To solve this I thought in the following way each product is linked to a unique supplier so I just need to retrieve all the suppliers displayed to my user so that he chooses the right one and I would only update the products from this supplier while always comparing if the code is the same.
I manage to retrieve the suppliers but I cannot update the products afterwards
Would anyone have an idea?