I need to add custom attribute to filter for product collection
I tried below code but filter is not working
$_productCollections=$this->getLoadedProductCollection();
$_productCollection = $_productCollections->addAttributeToFilter('weight', array('lt' => 100));
below code is working
$collection = Mage::getModel('catalog/product')->getCollection();
$_productCollection = $collection->addAttributeToFilter('weight', array('lt' => 100));
I need proper way to add filter range for weight attribute like
->addAttributeToFilter('weight', array('lt' => 100));
in default product collection($this->getLoadedProductCollection();
)