Advertisement
Guest User

second

a guest
Jul 2nd, 2014
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $collection = Mage::getModel('catalog/product')
  2. ->addAttributeToFilter('category_id', array("in"=>array('26')))
  3. ->addAttributeToFilter('category_id', array("in"=>array('63')));
  4.  
  5. foreach($collection as $_product){
  6.     echo $_product->getName()."<br/>";
  7. };
  8.  
  9. // There has been an error processing your request
  10. Exception printing is disabled by default for security reasons.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement