Jump to content

Importing a .csv with image url column


Recommended Posts

Hi,

I have been trying to import a very simple .csv with an image url but all my attempts have failed.

My steps are as follows:

1) Created a .csv with the following content:
6;1;"TestProduct";Electric;../img/6-72.jpg

"6" - is the product id
"1" - active column
"Test Product" - product name
"Electric" - category name
../img/6-72.jpg - location of my product image file


2) Imported the .csv into PrestaShop and after import, system message informed me that csv was successfully imported. However, there is an error message:

"Error copying image: ../img/6-72.jpg"

I am desperate for help on how I can successfully import this image.

Your responses is very much appreciated.

Thank You.

Link to comment
Share on other sites

  • 1 month later...

Things to check:

1. Use Category ID instead of Category name. The import process may have errors if there are similar category names. Using Category ID is very accurate and specific.

2. Did you upload images you want to import into root/upload folder? Image imports using csv files read, extract and import image files from there.

3. Use full file path/url such as http://www.yoursite.com/upload/6-72.jpg instead of of absolute path (../img/6-72.jpg)

Link to comment
Share on other sites

  • 1 month later...

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