I am new to magento. i am have one problem , i have to modify search terms insert query. but i am not able to find it in magento. i am using magento 1.8 version. so if any one have any idea please share. one more thing, if i have to add more field in search query. where and which file i have to modify. please mention the path for files.
Asked
Active
Viewed 374 times
2
-
http://stackoverflow.com/questions/13947976/how-and-where-to-modify-magento-search-query – himansu Mar 28 '14 at 09:46
-
thanks, but i have to modify search term insert query in magento but i am not getting how and where i can find the actual insert query for that. so please if you have any idea about it please share – Jigar.Oza Mar 28 '14 at 11:14
-
That find in app\code\core\Mage\CatalogSearch\Model\Resource\Fulltext.php in that function prepareResult($object, $queryText, $query). first truncate table `catalogsearch_fulltext`,`catalogsearch_query`, `catalogsearch_result` . – himansu Mar 31 '14 at 13:23
1 Answers
1
In this file remove save code and update your query.
/app/code/core/Mage/CatalogSearch/controllers/ResultController.php

Bharat M.
- 334
- 2
- 12