Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Mage::getModel('catalog/product');
- load();
- $category = Mage::getModel('catalog/category');
- $category->load($categoryid);
- $collection = $category->getProductCollection();
- $collection->addAttributeToSelect('*');
Add Comment
Please, Sign In to add comment