After three days of occasionally fruitful headbanging I am able to pull a collection of products off a Magento website and obtain the extra attributes for a specific product, but I really need a full dump of all products and their attributes. So this works for an individual product:
$sku= HHAM-6 ;
$attributes = new stdClass();
$attributes->attributes = array( description , short_description , price );
$list = $client->catalogProductInfo($session, $sku, NULL, $attributes, );
print_r($list);
and this works to get the basic info on all products:
$params = ;
$result = $client->catalogProductList($session, $params);
print_r($result);
因此,我是如何把这两者推倒的? 后者的产出包括:
[product_id] => 1
[sku] => HHAM-6
然后,我如何将每种产品的第一个例行做法结合起来? 某种沥青构造?
如果这种情况太明显,但欢迎任何援助。
时间