UPDATE student SET firstname = replace(firstname, 'jaydip', 'Kansagra');
How to create multilingual static block in controller
$deliveryBlock = Mage::getModel('cms/block')->load('delivery_returns'); echo $deliveryBlock->getTitle(); echo $deliveryBlock->getContent();
Search does not return results in magento
Open your file
Mage_CatalogSearch_Model_Layer
and in methodpublic function prepareProductCollection($collection)
before return $this;
Add following rows:
Mage::log($collection->getSelectSQL(1), false, 'search.log', true);
Mage::log((array)Mage::getConfig()->getNode()->global->models->catalogsearch, false, 'search.log', true)
OR
Goto -> admin->attributs->manage attribute-> search sku - open it ->
Frontend Properties-> Use in Quick Search (YES )