Magento 2 Search Settings and Terms
We’ve all been there, after all, fumbling in a large store, trying to search a product
No more in a Magento 2 store!
With the latest version of Magento 2, the search methods are optimized and included in the default functionality. Control product search in Catalog rather than setting up individual methods and configure search terms with the full text MySQL search engine.
Magento 2 Open Source enables using only MySQL as the search engine. Magento 2 Commerce store merchants are offered to work with MySQL, ElasticSearch, and Solr.
Moving on to Magento 2 Search Terms, it helps store owners to learn what users are searching for, know what’s in demand and accordingly shape the efforts to add product to the catalog and increase the sales!
Additionally, if a potential customer is unable to find a product, redirect them to another product rather letting them go empty-handed. A store owner can also add new search terms for better catalog navigation.
Before heading to Magento 2 Search Settings and Terms, lets first know the types of search terms:
- Landing page: It can be a category, product or content page.
- Synonyms: There are multiple words describing a single term such a chair can be searched by different people as recliner, cathedra, loveseat, couch, etc. You may loose a sale if the search term doesn’t match the product name. In such a case, you can add multiple synonyms of a product name and direct people to the same landing page.
- Misspells: You can’t expect people who search for your products to be spellomaniacs. Peolpe misspell words while searching and thus, use search terms to find common misspells and direct people to appropriate landing page.
The post covers entirely the Magento 2 search settings and terms vividly along with the method to add popular Magento 2 search terms and find the search terms report.
Magento 2 Search Settings
- Quick SearchThe search box is enabled in the upper right hand of the store frontend where a visitor enters one or more characters to search the product.
- Advanced Search SettingsThe advanced search allows your users to surf the catalog by a larger set of parameters (product attributes: name, SKU, description, etc.) entered into the form as shown here. The advanced search can be accessed from the footer of the storefront. It returns less and more precise search resultsTo add a new field in the form, configure the below settings:
- Search ResultsIt includes all the products having the characteristics entered in the Quick search box and the advanced search form. Display the search results in the grid format or the product list sorted by the set of attributes. A pagination control appears in the case if the product list exceeds a one-page size.
- Weighted SearchWeight Search allows the sellers to allocate a weight for product attributes when they want these attributes to be preferred to appear in search results as compared to other attributes. To configure it, refer to the path of advanced search.
- Configuring Catalog SearchTo enable MySQL engine and limit the size of the valid query text, follow these steps:
- Login to Admin Panel
- Go to Stores > Settings > Configuration
- Select Catalog option under the Catalog dropdown menu.
- Expand Catalog Search
- Enter the minimum number of characters the user is allowed to enter in the query in the Minimal Query Length field.
- Enter the maximum number of characters the user is allowed to enter in the query in the Maximum Query Length field.
- Set MySQL engine as the search engine and save the configuration.
Method to Configure Popular Search Terms
In the default settings, the option is enabled but not connected with the catalog search process. To optimize the rankings, index the search terms by the search engine.
Follow these steps to configure popular search terms:
- Log in to Admin Panel
- Go to Stores > Settings > Configuration > Catalog > Catalog > Search Engine Optimization and configure as shown below:
Add Search Terms:
- Login to Admin Panel
- Go to Marketing > SEO & Search > Search Terms
- Click on Add New Search Term
- Enter:
- Search Query – add the text of the new term.
- Store – select the store view
- Redirect URL – enter the redirect URL if you want to redirect the user to another page or website for that query.
- Display in Suggested Terms – Enable it to display it as a suggestion if there is no result for a query.
- Save the configuration
You may edit or delete a search term from the search term grid.
Method to Find the Search Terms Report
- Login to Admin Panel
- Go to Reports > Marketing > Search Terms
- Check the number of results for each term or the number of times the term was applied by the users. Filter the data on the basis of the term, store, results, and hits or export it in CSV or Excel XML format.
That’s it!
You can also change the layout of the search result page in Magento 2 as per your requirements for better branding.
Hopefully, you got everything related to the Magento 2 search settings and terms that you need for your Magento 2 store.
Any doubts about the topic are welcomed in the Comments section and I’d be happy to solve 🙂
Rate the post with 5 stars if it proved informative and helpful to you!
Thank you.
Sanjay Jethva
Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe.
His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.
2 Comments
It’s awesome in favor of me to have a website, which is useful in support of my know-how.
thanks admin
Thanks for the appreciation 🙂