SHARE
TWEET

second

a guest Jul 2nd, 2014 244 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.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top