Reading list Switch to dark mode

    Search Suggestion For Magento 2

    Updated 15 April 2024

    Magento 2 Search Suggestion module provides immediate search results. It shows results while you are still typing and gives suggestions for Magento 2 store products. Products are shown with images, product names, and prices.

    Thus, enhancing customer engagement in the store as they are not having a tough time searching for a product. It helps in reducing the bounce rate of the store.

    Watch the video tutorial below to understand Magento 2 Search Autocomplete extension workflow:

    ehV1Wn4wXig

    Features

    • The results are displayed immediately while still typing.
    • Open source code and fully customizable.
    • Ability to display matched products name with category.
    • Shows popular products based on Ratings.
    • Highlighting of the keyword in the search result.
    • It is very easy to configure and handy to use.
    • The extension is fully compatible with the Hyva Theme.
    • Layout 1 (Fixed Width) and Layout 2 (Full Width) can be managed by Ctrl + k and ESC button.
    • The search Suggestion module utilizes Elasticsearch to get search results data or whichever search engine configured on admin configurations.

    Installation

    Customers will get a zip folder and they have to extract the contents of this zip folder on their system.

    The extracted folder has an src folder, inside the src folder you have the app folder.

    Searching for an experienced
    Magento 2 Company ?
    Find out More

    So, you need to transfer this app folder into the Magento2 root directory on the server as shown below.

    m2_installation

    After the successful installation, you have to run these commands in the Magento2 root directory.

    First command- php bin/magento setup:upgrade
    Second Command - php bin/magento setup:di:compile
    Third Command - php bin/magento setup:static-content:deploy

    After running the commands, you have to flush the cache from the Adobe Commerce admin panel by navigating through->System->Cache management as shown below.

    Installation Of Search Suggestion For Magento2

    Multi-Lingual Configuration – Adobe Commerce 2 Search Suggestion

    The admin can select your desired language from the Locale option.  Also, for Multilingual support from the Magento admin panel navigate through Configuration>General >Locale Options.

    configuration

    Language Translation

    If you need to do the module translation, follow the path from navigation in your system. app/code/Webkul/SearchSuggestion/i18n. Open the file named en_US.CSV for editing as per below image:

    module translation

    When the file is open for editing, replace the words after the comma(,) on the right with your translated words.

    translated words

    Module Configuration – Adobe Commerce 2 Search Suggestion

    After the successful installation of the module, you need to go to Stores -> Configuration and select the Search Suggestion option under Webkul Tab.

    Also, the admin can navigate from Store > click on Search Suggestion menu option on side panel  > Settings

    search suggestion

    So, the admin can set various options for search suggestions like –

    • show terms,
    • show products,
    • display products,
    • display categories,
    • the number of products, etc.

    Module Configuration

    Show-

    • Terms: The admin can set any number of Terms to show terms in search suggestions.
    • Products: Admin can set any number of Products to show products in search suggestions.

    Display-

    • Terms: Admin can set Display  Terms as Yes or No.
    • Terms Number: Admin can set Display Terms Number as Yes or No.
    • Product: Admin can set Display Products as Yes or No.
    • Categories: Admin can set Display Products as Yes or No.

    Layout Terms –

    The admin can select layout for the frontend .

    layout

    • Default : Admin can set default search option for frontend.
    • Layout 1 (Fixed Width) : Admin can set search suggestion which will appear in vertical form.
    • Layout 2 (Full Width)  : Admin can set search suggestion which will appear in horizontal  form.

    Moreover, for refined search results, you can also install Magento 2 Layered Navigation Extension.

    Magento 2 Search Suggestion – Storefront View

    Search suggestions will be displayed on the frontend as per the admin’s configuration.

    In search bar, the customer can input keywords for product and accordingly the suggestions will display.

    default

    Layout 1 (Fixed Width)  :

    When admin sets layout 1 the frontend display as per the image below :

    Homepage in layout 1

    When the customer clicks on the search bar without any keyword then it will be displayed popular products based on ratings as per the below image :

    without kyword layout

    Also, customer enter the keyword for product in the search bar then relevant product option will display.

    with keyword

    Layout 2 (Full Width) :

    The front end will look slightly different from Layout 1 (Fixed Width) in this layout.  The search bar will appear differently from Layout 1 (Fixed Width) as per the below image :

    Homepage layout 2

    After clicking the search bar, the trending categories searches will be displayed on the homepage. All the suggestions will appear horizontally as per the below image :

    homepage in l2

    When the customer will enter the keyword in the search bar , then keyword will be shown with the possibility of product category  and product as per below image:

    search suggestion

    So, that’s all for the Magento 2 (Adobe Commerce) Search Suggestion, If you still have any issues feel free to add a ticket and let us know your views to make the module better at Webkul Support System.

    Also, to further enhance your e-commerce site search experience and display search results more quickly and accurately, make sure to check out Magento 2 Elasticsearch.

    Current Product Version - 5.0.4

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

    Blog Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x
    • Version Magento 2.0.x, 2.1.x, 2.2.x, 2.3.x
    • Version Magento 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x
    . . .

    Leave a Comment

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


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content