How to filters products by attribute value in Magento
Directory file path : app/design/frontend/base/default/template/catalog/product/list.phtml
$_productCollection=$this->getLoadedProductCollection();
$_productCollection = clone $this->getLoadedProductCollection();
$_productCollection->clear()
->addAttributeToFilter('featured', array('value'=>'1'))
->load();
Really good to know about the filter products in magento. Thanks for the posts. keep updating.
ReplyDeleteferric citrate supplement
Impressive post, thanks for it.
ReplyDeletebest pilonidal sinus treatment delhi