Saturday, 19 April 2014

Most searched Keywords functionality in Magento


Most searched Keywords functionality in Magento

$model = Mage::getModel('catalogsearch/query')->getCollection();
$model->setOrder('popularity', 'desc');

That's it... Enjoy Chandresh rana's Coding.... :)

No comments: