Guest User

first

a guest
Jul 2nd, 2014
273
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $collection->addAttributeToFilter('category_id', array("in"=>array('26')));
  2. $collection->addAttributeToFilter('category_id', array("in"=>array('63')));
  3.  
  4. foreach($collection as $_product){
  5.     echo $_product->getName()."<br/>";
  6. };
  7.  
  8. // Fatal error: Call to a member function addAttributeToFilter() on a non-object
RAW Paste Data