Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $collection->addAttributeToFilter('category_id', array("in"=>array('26')));
- $collection->addAttributeToFilter('category_id', array("in"=>array('63')));
- foreach($collection as $_product){
- echo $_product->getName()."<br/>";
- };
- // Fatal error: Call to a member function addAttributeToFilter() on a non-object
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement