Jump to content

Replace product image in bulk


heldercervantes

Recommended Posts

Hi.

 

I have a list of products where I need to change the photo. It's the same photo for every product, but it's around 1800 of them.

 

This is NOT a generic placeholder. All these products belong to a number of categories that share the same image.

 

I tried importing CSV and feeding a file containing column with the IDs and the second one repeating the path to the photo. But this is not replacing the photos for products that already have them, so I ended up with a job partially done.

 

Can anyone help out with a snippet for iterating through a list of product IDs and removing all images from each one?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...