This happens very rarely once for 50-300 products, it is difficult to track
Not used in the given
But here I have a question, what if I have 2 products with the same image and I delete one of the products, then the image from the second product will also be deleted in my case (is this normal, there must be some kind of check before deleting, not Is there a link to this file for another product that is not in stock)?
In search of the cause and the original image, I came across a situation that may help in solving
In general, the chronology of events was as follows
First, a product was created (which I set as problematic)
Here is this
https://baza.cn.ua/admin/shop/products/63990/edit/And in XML, the system put a link on it
https://baza.cn.ua/media/shop/a9/e7/product-Pepperts-305303-134-140_a9e700a2d096...For a file that doesn't exist
Photos have been uploaded in the product
Next, a new product was created through the copy functionality
https://baza.cn.ua/admin/shop/products/copy/The product differed only in size, that is, the images remained the same
Here is the product
https://baza.cn.ua/admin/shop/products/63991/edit/So there is no problem with it in XML
Here is an image of it:
http://baza.cn.ua/media/shop/a9/e7/product-Pepperts-305303-146-152_a9e700a2d0962...http://baza.cn.ua/media/shop/df/c9/product-Pepperts-305303-134-140_dfc9ac6ba87db...http://baza.cn.ua/media/shop/d1/eb/product-Pepperts-305303-134-140_d1eb6f076d8ba...http://baza.cn.ua/media/shop/af/62/product-Pepperts-305303-134-140_af62f640c21b2...That is, according to the logic, the original photo that is needed and with which the problem is
From the names of the images, you can see that the main image has changed for the new product (that is, the new size is 146-152, but the additional photo remains 134-140)
That is, there is also some kind of violation of logic, the link to the main image has changed, but to the additional one. the links remained the same as in the product from which they copied, why the main thing did not remain old or why the additional ones did not change
In short, it’s somehow incomprehensible, I admit that perhaps the problem occurs when copying