<?php
$featured_products=Mage::getModel('catalog/product')
->getCollection()
->addAttributeToFilter('status', 1)
->addAttributeToFilter('visibility', 4)
->addAttributeToFilter('featured', 1);
?>
$featured_products=Mage::getModel('catalog/product')
->getCollection()
->addAttributeToFilter('status', 1)
->addAttributeToFilter('visibility', 4)
->addAttributeToFilter('featured', 1);
?>
No comments:
Post a Comment