开发者

How do I import Category Image programmatically in Magento?

I need to import category images from the filesystem in a synchronisation system. For product images there is an API provided by Magento that let me work with images (move, create开发者_开发知识库, delete, etc.) Is there such an API for category images? If not what is your advice?


Upload the image to /media/catalog/category and reference the image filename in your API call.

SOAP API for category.update ‘image’ => ‘filename’

http://www.magentocommerce.com/boards/viewthread/47359/

http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_category#catalog_category.create

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜