
Find out what shoppers search for and fix the searches that find nothing
Every shop search is recorded with its number of results. A report ranks the searches that found nothing, and search rules fix them: synonyms, products pinned to the top, and redirects to a page of your own site.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
A shopper searches for a couch, the catalogue calls it a sofa, and the shop search returns nothing. The shop never knows: an empty search leaves no trace in standard Odoo.
This module records every search on the shop with the number of results, whether it found nothing and the word Odoo corrected it to. The Searches With No Results report lists the empty searches ranked by how many people tried them - each row is a synonym you are missing or a product you might stock.
Search rules then fix them. A synonym rule tries other words, one at a time, when the shopper's own words find nothing. A pin rule puts chosen products first in the results. A redirect rule sends the search straight to a page of your own site, such as a category. A scheduled job keeps the log to the number of days you choose.
Who it is for
Online shops with a large catalogue Shoppers use their own words, and the catalogue uses yours. | Merchandisers Put the product you want to sell first for the searches that matter. | Shop owners planning the range The searches that find nothing show what people want and you do not sell. |
Key features
All screenshots were taken on Odoo 19 with this module installed on a clean demo database (company Northwind Trading Co, Odoo demo products) and the default website theme. The searches in the reports were made on the shop of the bench.
Feature 1
Synonyms for the words shoppers use
Nothing in the catalogue is called a couch. With a synonym rule couch -> sofa, the search for couch shows the Two-Seat Sofa instead of an empty page.
Synonyms are only tried when the shopper's own words found nothing
Each synonym is tried on its own, in order, and the first that finds something wins

Feature 2
Pin products to the top
A pin rule for chair puts the Office Chair Black first in the results. Every other matching product still shows, below it.

Feature 3
Send a search to a page
A redirect rule sends the search desks straight to the Desks category page. The target must be a page of your own site: an outside address is refused when the rule is saved and again when it is used.

Feature 4
Searches With No Results
Website -> Reporting -> Searches With No Results groups the empty searches by term, with how many times each was tried. On the bench standing desk (5), monitor arm (4) and bean bag (3) lead the list.

Feature 5
All shop searches
Website -> Reporting -> All Shop Searches lists every search with its result count, whether it found nothing and the word Odoo corrected it to, for example cabnet corrected to cabinet.

Feature 6
Search rules in one list
Website -> Configuration -> Search Rules lists every rule with its kind, match, synonyms, pinned products, target page and the number of times it was used.

Feature 7
Synonym rule
A rule has the search it applies to, the kind, the match (exactly this, or anywhere in the search), the website and the comma separated synonyms. Case and extra spaces do not matter.

Feature 8
Pin rule
A pin rule holds the products to put at the front of the results for that search, and counts how many times it was used.

Feature 9
Log retention
In Website -> Configuration -> Settings, Keep Searches For sets how many days of searches are kept. A scheduled job removes older entries.

How it works, step by step
| 1 | Install the module It depends only on eCommerce. Recording starts with the next shop search. |
| 2 | Let shoppers search After a few days, open Website -> Reporting -> Searches With No Results. |
| 3 | Add rules Website -> Configuration -> Search Rules: a synonym, a pin or a redirect for each search worth fixing. |
| 4 | Check they are used The Times Used counter on each rule and the All Shop Searches log show the result. |
Settings
Rules are in Website -> Configuration -> Search Rules, the retention in Website -> Configuration -> Settings.
| When somebody searches for | The search the rule applies to, matched after tidying case and spaces. |
| Kind | Also search for (synonyms), Show these first (pinned products) or Send them to a page (redirect). |
| Match | Exactly this, or Anywhere in the search. |
| Synonyms / Pinned Products / Send To | The words to try, the products to put first, or the path on your own site. |
| Website, Sequence, Active | Limit a rule to one website, order rules, and switch them off. |
| Keep Searches For | Number of days the search log is kept. |
Frequently asked questions
Do synonyms change searches that already work?
No. A synonym is only tried when the shopper's own words found nothing, and each synonym is tried on its own.
Can a redirect send shoppers to another site?
No. The target must be a path on your own site. An outside address is refused when the rule is saved and when it is used.
Does it replace Odoo's own spelling correction?
No. Odoo's fuzzy search still corrects typos. The log shows the word it corrected to, for example cabnet to cabinet.
Does the log grow forever?
No. A scheduled job keeps the number of days set in Keep Searches For.
Can rules differ per website?
Yes. A rule can be limited to one website.
Compatibility
Odoo 19 Community and Enterprise | Depends on eCommerce (website_sale) | Tested 30 automated tests |
Turn empty searches into sales
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by email |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 574 |
| Technical Name |
mdv_search_pro |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/search-pro/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module