通过SOAP调用获取图像缩略图
|
我正在尝试使用Magento的网络服务API通过第三方应用程序在商店中展示产品。当我使用“ catalog_product_attribute_media.list”查询图像数据中的商品时,我得到的是这样的:
Array
(
[0] => Array
(
[file] => /a/k/akio-dresser.jpg
[label] =>
[position] => 1
[exclude] => 1
[url] => http://example.com/magento/media/catalog/product/a/k/akio-dresser.jpg
[types] => Array
(
[0] => thumbnail
[1] => small_image
[2] => image
)
)
)
这告诉我,我应该能够获得该图像的“缩略图”或“ small_image”版本,但我不知道该怎么做。我仔细阅读了文档,尝试了所有可以找到但没有成功的东西。有人知道我可以使用什么SOAP调用吗?调用catalog_product_attribute_media.info似乎返回完全相同的信息,而catalog_product_attribute_media.types似乎根本不返回任何信息。
没有找到相关结果
已邀请:
1 个回复
坝镰补翔奋