Showing posts with label How to get most search Keywords in magento. Show all posts
Showing posts with label How to get most search Keywords in magento. Show all posts

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.... :)