allinone
Website Developer Blogs
Sunday, January 2, 2011
Magento code to get catalog or product id
$category = Mage::getModel('catalog/category');
$category->load(10);
$collection = $category->getProductCollection();
foreach ($collection as $product) {
$result[] = $product->getId();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment