$productCollection = Mage::getModel('catalog/ product')->getCollection();
$productCollection-> addAttributeToFilter(' color', 4);
For example attribute code ="color"
Red (value id) ="4"
$productCollection->
For example attribute code ="color"
Red (value id) ="4"
No comments:
Post a Comment