Populate Magento Auto-Suggest Search Terms Programmatically

Use this SQL statement to add an auto suggest (hint) search term in the Magento search field:

INSERT INTO m_catalogsearch_query(query_text, store_id, popularity, num_results, display_in_terms, is_active) VALUES('example term', 1, 1, 1, 1, 1)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>