Download the PHP package bitbull/magento-tooso-search without Composer
On this page you can find all versions of the php package bitbull/magento-tooso-search. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bitbull/magento-tooso-search
More information about bitbull/magento-tooso-search
Files in bitbull/magento-tooso-search
Package magento-tooso-search
Short Description Tooso search integration for Magento
License MIT
Informations about the package magento-tooso-search
Tooso Search for Magento
Tooso is a cloud-based, multi-language search tool for e-commerce.
This extension replaces the default search of Magento with a typo-tolerant, fast & relevant search experience backed by Tooso.
Description
This extension replaces the default Magento search engine with one based on Tooso API. It provide the following features:
- Fulltext search for catalog products (currently advanced search is not supported)
- Scheduled indexing of catalog products
- Automatic typo correction
- Search keywords suggest
Requirements
The only requirement for the module is the default Magento cronjob execution correctly configured. Something like the following is a good configuration:
This will run the Magento jobs schedule and executions every 5 minutes. Note: the Tooso indexing flow start every 15 minutes.
Here is some additional info on how to add cron jobs with Cpanel and Plesk, which are some of the most popular web panels:
If you can't access your server configuration, please ask your hosting provider to configure crontab for you.
External Dependencies
It is placed under lib/Bitbull/Mobile
directory, the main class file is renamed from Mobile_Detect to Detect.php
and class name is renamed to Bitbull_Mobile_Detect.
This prevent compatibility issues by other modules.
Mobile Detect class is globally reachable as Bitbull_Mobile_Detect
.
Installation Instructions
You can install the extension with following methods:
Copying files manually
Copy all files and directories recursively from src
directory into your document root.
Using Composer
If you use Composer for manage your module dependencies, you can install the module adding this repository to your composer.json
file:
Then you can add the module dependency:
Finally, you can launch the command composer update
inside your project root directory.
Regardless the method you choose, after installation you need to clear the cache and logout from the admin panel and then login again.
Customize reindex flow
By default, the catalog reindex process start every 15 minutes. This is done through the standard Magento cron framework (more info here).
You can customize the frequency of reindex schedule editing the file app/code/community/Bitbull/Tooso/etc/config.xml
:
you can change the value of node <cron_expr>
using any standard cron expression.
Module Configuration
Request your API KEY
Send an email to [email protected] to request your APIKEY
Set your API KEY:
- Under API Configuration
- Insert your API key into API key field
- Insert http://v{apiVersionWithNoDot}.api.tooso.ai into API base url field. The current supported version is 1, so the placeholder {apiVersionWithNoDot} should be replaced by 1.
- Send report: YES to send a report to Tooso when an API error occourred
- Force logging: YES to force logging to {{base_dir}}/var/log/tooso_search.log even when logging is disabled
- Debug mode: Yes to enable more verbose logging for debug purpose
- Save configuration
- If you are in the Early Adopter phase, it's highly advisable to leave enabled Send report and Force logging configurations under API Configuration. This will give to the Tooso support team more information for help you troubleshoot in case of errors. Please note: to be able to send report to Tooso, your Magento installation need to be able to send email.
Integrate your catalog
- Access the extension configuration under System -> Configuration -> Tooso Search Engine.
- Under Activate Tooso set the parameters as follow:
- Enable Search: NO
- Enable Indexing: YES
- Enable Tracking: NO
- Save configuration
Activate your Search Bar and your tracking
Once your catalog has been integrated with Tooso, you will get a notification from a member of Tooso’s team and you can enable the search and the tracking
- Access the extension configuration under System -> Configuration -> Tooso Search Engine.
- Under Activate Tooso set the parameters as follow:
- Enable Search: YES
- Enable Indexing: YES
- Enable Tracking: YES
- Save configuration
IMPORTANT: For any question about our early adopters program, reach out anytime to our CCO [email protected]; for technical enquiries, ping directly our CTO [email protected].
Tips & Tricks
If you are using a proxy in front of Magento, like a load balancer, an HA proxy or a Varnish instance add this configuration to Magento local.xml
file:
this in order to identify the correct user's IP using X-Forwarded-For
or X-Real-IP
HTTP headers.