【发布时间】:2012-01-24 04:00:17
【问题描述】:
我有以下代码:
$filters = array('sku' => array('like'=>'%'));
$items = $magConn->call($sessionID, 'product.list', array($filters));
这将返回一个包含所有产品及其 sku、描述和数量的数组。 但是,我也需要得到价格吗?有没有办法得到它?
我也有这个工作,
$properties = ($magConn->call($sessionID, 'product.info', $item['sku']));
这将返回一个产品的所有属性。我有超过 2,000 种产品,如果我想今晚结束,这绝对是不可行的。 ;)
【问题讨论】: