Product Import Problem

I am trying to create a csv template for product imports. It works apart from the media images.
The product display gives the error:

Fatal error: Call to a member function getFile() on a non-object in /home/cfmsample1co/public_html/app/design/frontend/default/jm_summer/template/catalog/product/view/media.phtml on line 65

I can create the product manually in the back end of the site with no problems.
With the product successfully set up manually I exported a products csv. I then deleted the product from the site and imported it again using the exported csv. Still the same problem.

I have placed the required images in the media/import folder. After the import they have been copied to the correct media folder

7 answers

Profile photo of Mall Staff 170390.00 $tone October 1, 2014
Public

I have created a backup & edited the template file at: /app/design/frontend/default/jm_summer/template/catalog/product/view/media.phtml
The issue of your website was resolved.

Have a look & let me know if you have further questions.

#3
Profile photo of Wayne Farnworth 290.00 $tone October 1, 2014
Public

Hello,

Thanks for that. However it isn’t completely resolved. Only one image is showing. There should be 3.

I tried a fresh import:
I deleted the product from the admin area.
I also deleted the images from the media/catalog/product/r/e folder

Then I reimported the product.

It still appears with only one image.
When I check the media/catalog/product/r/e folder the three images have been successfully created in there again but they don’t appear on the front end.

Also when I look at the product in the admin area there are no images.

Could you have a look at that please?

Many thanks for your help

Wayne

#4
Profile photo of Wayne Farnworth 290.00 $tone October 2, 2014
Public

Thanks for the link. Those instructions are for Magento Go.
I already have a functioning Magento Go site and a csv template that works for that.

Difference I have found in Magento CE is that additional images column is not used. Media gallery/media image is used instead.
That is where I have been struggling.

I have it working now. I discovered I need to include the column
_media_is_disabled
0

This column isn’t present in Magento Go

All working now. I really appreciate your help.

Thank you

Wayne

#6

Please login or Register to Submit Answer

Written By

Comments