开发者

How do I import Category Image programmatically in Magento?

开发者 https://www.devze.com 2023-03-11 20:06 出处:网络
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开发者_开发知识库, de

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

精彩评论

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