Skip to content

Instantly share code, notes, and snippets.

@mkeen
Created May 6, 2010 20:06
Show Gist options
  • Save mkeen/392637 to your computer and use it in GitHub Desktop.
Save mkeen/392637 to your computer and use it in GitHub Desktop.
foreach($ids as $id) {
$newProduct = Mage::getModel('catalog/product')->load($id);
 print $newProduct->getName();
 foreach ($newProduct->getGalleryImages() as $image) {
print $newProduct->getGalleryUrl($image);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment