Jump to content

Images when importing products via CSV


EcoPets

Recommended Posts

I have bumped into a issue with a suppliers CSV file for importing new products.  They provide a URL link to their product images that are stored on a 3rd party server (AmazonAWS).  So when the CSV is mapped to the Prestashop file there is no image that would be stored in the "img/p/...." folders.  Now this CAN be done after the product file is correctly imported by manually clicking on "Select Files" in the product record and then referencing the URL the supplier provides.  If this is a 1 off kind of product import, but if there are a large number of products, this is a HUGE labor intensive process!  Does anyone have any suggestions on how to handle this?

Link to comment
Share on other sites

Although I could:

FTP all files to a tmp folder, then, put its path to the csv (/tmp/uploads/img), then, import the csv …

… which will produce products with images (without having to upload image one by one)

, I still find it troublesome to get everything in place, such as right image for right combination, cover image, multi category assignment, price and tax config, etc. 

But that is what I usually do and it has worked for me

Link to comment
Share on other sites

On 8/11/2023 at 7:09 PM, s4lvozesta said:

Although I could:

FTP all files to a tmp folder, then, put its path to the csv (/tmp/uploads/img), then, import the csv …

… which will produce products with images (without having to upload image one by one)

, I still find it troublesome to get everything in place, such as right image for right combination, cover image, multi category assignment, price and tax config, etc. 

But that is what I usually do and it has worked for me

Did you try providing the full url of the images at their AWS location?

  • Like 1
Link to comment
Share on other sites

On 8/13/2023 at 6:48 PM, musicmaster said:

Did you try providing the full url of the images at their AWS location?

I think I did but there was problem, I forget what was it. I should think PS will download each provided image from the URL which makes it ‘slower’ than running ftp?

Link to comment
Share on other sites

My issues seems to have been the way the import of the product file from the supplier was working.  I was able to get that working,  BUT I can only get 1 image in the import.  If the supplier has more than one image in their file, I have not yet figure out how to get them all to import and have to get them manually, one b y one.

Link to comment
Share on other sites

Hi.

In the import settings in Prestashop, there is an option to choose a separator for multiple values.
So, if you have multiple links to images in the CSV file separated by, for example, a comma, you choose a comma as the multiple separator in the settings.

But we can't see your CSV, so that's just guesswork.

obrazek.thumb.png.aab7e0f69eab0b6c6ccc10f8550c8f06.png

Link to comment
Share on other sites

  • 1 year later...
12 minutes ago, Pritam said:

Hi, I am able to upload the contents of all products. 
I have uploaded the image files in the "administration/import/" folder. 
I then used the url as "http://mydomain.com/import/image1.jpg, http://mydomain.com/import/image2.jpg"

However, the images are not uploaded. What am i doing wrong?

i also tried the urls, "..import/image1.jpg,../import/image2.jpg" but that too did not work. please help.

Link to comment
Share on other sites

1 godzinę temu, Pritam napisał:

Hi, I am able to upload the contents of all products. 
I have uploaded the image files in the "administration/import/" folder. 
I then used the url as "http://mydomain.com/import/image1.jpg, http://mydomain.com/import/image2.jpg"

However, the images are not uploaded. What am i doing wrong?

remove whitespace and check if you can access images through browser.

Link to comment
Share on other sites

16 hours ago, WisQQ said:

remove whitespace and check if you can access images through browser.

tried that but no luck :(. Thanks for your response. It is good you mention about the accessing the image via browser. I am not able to access the image via browser. I get 403 error - "forbidden - you dont have permission to access the resource."

Edited by Pritam (see edit history)
Link to comment
Share on other sites

22 minutes ago, Pritam said:

image.png.0487232dfd9e0d6197372f007274c22c.png

 

this is the permission set on the folder that has the images.

I tried to upload images into a new folder within "img" folder and it worked well. I could upload multiple images for a single product and it worked well.

@WisQQ @musicmaster thank you guys for your inputs. I really appreciate it!! Hope to be of help to others they way I got helped.

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...