1b.app
Link copied -

deleting product photos other than the main photo

Good afternoon.

We import goods from Opencart into the box using the "Import products from Opencart" hourly action:

Previously, this checkbox was not in the action settings: and naturally all product photos were imported. Now we have checked this box, and logically, new goods that are imported are already imported with one main photo. But there are many secondary photos left hanging on old products.

Question! How to clean the system from old secondary photos? At the same time, without deleting or overwriting products, so as not to violate their history and statistics?
Original question is available on version: ru

Answers:


Dmytro Potyako wrote:
Question! How to clean the system from old secondary photos? At the same time, without deleting and overwriting the goods, so as not to disturb their history and statistics?

Good day.
If you need to remove all additional images for all products - we can do it through the database for the cost of 1 hour of finishing.
If you also need to physically remove additional image files from the server - this must be done with a script - it will take 2 hours.
18.07.2023, 10:13
Original comment available on version: ua

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment