Google Custom Search Integration - Magento 2 Extension
- Created On: 09th January, 2016
- Last Updated On: 16th August, 2018
- By: Solwin Team
- Email: firstname.lastname@example.org
Note: Please take a backup of your all Magento files and database before installing or updating any extension.
Download the extension file:
- Download the Google Custom Search Integration extension .ZIP file from solwininfotech.com using your Solwin Infotech website account.
- Extract the .ZIP file which contains another .ZIP files.
- If you have purchased the extension for the Community Edition, then you will see the extension .ZIP file for Magento 2.0.x, Magento 2.1.x, and Magento 2.2.x version.
If you have purchased the extension for the Enterprise Edition, then you will see the extension .ZIP file for Magento 2.1.x and Magento 2.2.x version.
For Magento 2 Community Edition,
- If you are using Magento 2.0.x then you need to extract solwin-googlecustomsearch-m2-2.0.x.zip file.
If you are using Magento 2.1.x then you need to extract solwin-googlecustomsearch-m2-2.1.x.zip file.
If you are using Magento 2.2.x then you need to extract solwin-googlecustomsearch-m2-2.2.x.zip file.
For Magento 2 Enterprise Edition,
- If you are using Magento 2.1.x then you need to extract solwin-googlecustomsearch-m2-EE-2.1.x.zip file.
If you are using Magento 2.2.x then you need to extract solwin-googlecustomsearch-m2-EE-2.2.x.zip file.
Following 2 to 6 steps are the same for Community and Enterprise edition.
- Copy the app folder and paste it into your magento ROOT directory.
- Run upgrade command as specified : php bin/magento setup:upgrade
- Run deploy command as specified : php bin/magento setup:static-content:deploy -f
- Clear the cache either from the admin panel or command line php bin/magento cache:clean
- Now, you can see the Solwin menu in admin panel. Please go to Solwin -> Google Custom Search -> Configuration and select Enable to Yes.
- Change/Set all other options as per your requirements and save settings.
NOTE : Make sure the installation is done from under the FTP administrator account. Otherwise make sure to set 775 permissions to the store root directory after the extension is deployed.
A setup guide and general information to help you
This document covers the installation, set up, and use of this extension and provide answers and solutions to common problems and issues. We encourage you to read this document thoroughly if you are experiencing any difficulties.
Google’s Custom Search Engine (Google CSE) enables site owners to define their own search engines for their website. Google custom search integration Magento 2 extension helps to integrate Google CSE to website and enhance search functionality.
It will also helps for search engine optimization. This extension works in Multi-store environments and improve your google search result with images. All you need to fill up Search Engine Unique ID. Store owner can enable/disable Autocomplete feature – which makes querying even faster. Store owner can enable this extension from backend panel.
You ca-n find these features below:
How To Use
In frontend, Customers can search via default search box but it will return result based on Google custom search engine setup by store admin. This search also supports image search and sort by options like date and relevance.
For more details see below examples.
1. Custom Search With Sort By Relevance
This example shows Google custom search that sort by using relevance.
2. Custom Search With 5 Records per Page
This example shows Google custom search that sort by using date and 5 records per page.
3. Custom Search With Image
This example shows Google custom serach with filter by Image
In the Settings tab, our extension allows you to enable or disable the module on your store and provide you more configuration options to customize your search page.
There are so many configuration options in system tab. Lets discuss all in more details.
There are some configuration options in Settings tab. Let's discuss all in more details.
If you select Include Your Custom Code to Yes, you should enter your custom code. Let's discuss all in more details.