Magento 1.7.0.2 Image does not exist

I import volumetric images into mogento. I had an error "Image does not exist." I'm trying to find

1) located in /media/catalog/product/ , and also create a folder import on the media/import

2) csv file is converted to UTF-8 format

3) the image name in the csv file looks like this: /media/catalog/product/products/91803_1_201081211141.jpg

quid me for a better solution

+4
source share
3 answers

You have to put your images in media/import ie media/import/photo.jpg and then in your csv file you just use photo.jpg

+5
source

Tested and works in Magento CE ver. 1.7.0.2

Image: /media/import/foo.png
Image name in CSV file: /foo.png

+5
source

Suppose you accidentally deleted a bunch of products, but the images are still in the media / catalog / product folder. For example, this can happen if you accidentally delete a set of attributes because it takes products with you. Suppose you want to export these products from your intermediate environment and return to production. You go to the data stream during production, export, and then during the production process, temporarily change this file:

code / kernel /Mage/Catalog/Model/Convert/adapter/product.php

Change line 775 to

$ arrayToMassAdd, Mage :: getBaseDir ('media'). DS./ Product Catalog / ',

When you're done, change it to

$ arrayToMassAdd, Mage :: getBaseDir ('media'). DS. 'Import',

What this will do is import the product images from where they were. The csv that you export from your staging environment will reference the image in / l / a / etc etc., so it will work.

Do not forget the '/' at the end of the catalog / product

0
source

All Articles