Skip to content

Instantly share code, notes, and snippets.

@mykehsd
Created September 26, 2011 21:52
Show Gist options
  • Select an option

  • Save mykehsd/1243518 to your computer and use it in GitHub Desktop.

Select an option

Save mykehsd/1243518 to your computer and use it in GitHub Desktop.
Get Catalog
foreach ($client->call($sessionId, 'catalog_product.list', array( '', $storeId)) as $product)
{
$data = array(
'name' => $product['name'],
'price' => $product['price'],
);
// Get images
$images = $client->call($sessionID, 'catalog_product_attribute_media.list', $product['product_id']);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment