Jump to content
OllieC42

Replacing images with CSV import 1.7

Recommended Posts

Hi I know there is a thread on this but it is 7 years old and does not apply to 1.7x.

Prestashop duplicates images when you import a csv with image urls rather than

replacing the existing image(s).

 

I know that you can adjust the code somewhere in the prestashop directory. I have little coding experience so I do not know how to do it.

 

Has anyone created this code for 1.7 and can you please share it with me along with its location so that I can resolve the issue?

 

Many thanks,

Ollie

Share this post


Link to post
Share on other sites

Hi Ollie

 

In your products import file, you must set the value of "Delete existing images (0 = No, 1 = Yes)" to one of these values.

 

Setting this to "1" will delete all product images for the product before importing the new ones.

 

Hope this helps.

 

Cheers

  • Like 1

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More