Guest User

Untitled

a guest
Nov 25th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. $productCollection = Mage::getModel('catalog/product')->getCollection()
  2. ->addAttributeToSelect('custom_attribute_code')
  3. ->addAttributeToFilter('status',1);
  4.  
  5. ->addAttributeToSelect('custom_attribute_code','custom_attribute_code')
Add Comment
Please, Sign In to add comment