OpenCart's standard search looks for literal matches of each word in the product name in the current language. It doesn't understand other word forms, typos, or synonyms, and it finds SKUs only by an exact full value. So "it can't find the product" almost always means one of two things: the product is hidden from the storefrontWhat the customer sees: the home page, categories, product page, and cart. More in the glossary → (status, date, store, language), or the customer's query doesn't match how the name is written. Below, step by step, is how to find the cause and what you can fix yourself.
How OpenCart's standard search actually works
When a customer types a query into the search box in the header, the store opens the route=product/ page, and the catalog model builds an SQL query to the database. In 3.0 and 4.1 the logic is very similar:
- the query is split into words by spaces, and each word must appear in the product name (the
LIKE '%слово%'condition, joined with AND); - if the customer ticks "Search in product descriptions," the description is also checked, but only for a match of the entire phrase as a whole;
- product tags are checked;
- the model, SKU, EAN, MPN and other codes are compared only for exact equality with the query, case-insensitive.
A simplified fragment from the 3.0 model looks like this:
$words = explode(' ', trim(preg_replace('/\s+/', ' ', $data['filter_name'])));
foreach ($words as $word) {
$implode[] = "pd.name LIKE '%" . $this->db->escape($word) . "%'";
}
$sql .= " " . implode(" AND ", $implode);
// ...
$sql .= " OR LCASE(p.model) = '" . $this->db->escape(utf8_strtolower($data['filter_name'])) . "'";
This explains the typical failures. The query "red summer dress" will return nothing if the name doesn't contain the word "summer." Searching "ABC-12" won't find the model "ABC-1234." And "sneaker" won't find "Sneakers Nike," because the substring "sneaker" isn't in the name. A note on ranking: the standard search has no relevance. Results are sorted by the product's sort order, so the most relevant product may end up on page three. For more on how the model queries the database, see the article on queries via $this->db — OpenCart models and database queries.
The product is in the admin but search doesn't show it: what to check
Start with the simplest things. If a product isn't found even by its exact name, the problem isn't the algorithm. The product simply doesn't reach the storefront. Open it in Catalog → Products and go through the checklist.
- Status. On the Data tab, the "Status" field must be "Enabled." Disabled products are not shown anywhere, including in search.
- Date available. On the same tab, check "Date Available." If it's in the future (this often happens after an import with the wrong date format), the product stays hidden until that day.
- Store. On the Links tab, in the "Stores" block, the checkbox for the relevant store must be ticked. After an import this link is often missing.
- Language. Search runs against the name in the language the customer has currently selected. If the name is filled in only in English while the storefront is in Ukrainian, the search returns nothing. This is especially common in bilingual stores.
- Theme. Enter the query manually in the address bar:
index.php?route=product/. If the product is found this way but not through the search box in the header, the form in the theme is passing the wrong parameter or the JavaScript is broken.search&search=назва

If you have dozens or hundreds of problem products, it's faster to check everything with one query in phpMyAdminA web interface to the database. Make a dump before any changes. More in the glossary →. Replace the prefix oc_ with your own:
-- товари без прив'язки до жодного магазину
SELECT p.product_id, p.model
FROM oc_product p
LEFT JOIN oc_product_to_store p2s ON p2s.product_id = p.product_id
WHERE p2s.product_id IS NULL;
-- вимкнені або з датою в майбутньому
SELECT product_id, model, status, date_available
FROM oc_product
WHERE status = 0 OR date_available > NOW();
Why it doesn't find a product by part of a word, with a typo, or with an apostrophe
When a product is definitely visible but customers still complain, the problem is in the query text. Here is what most often breaks search in Ukrainian stores.
Word forms and typos
Ukrainian is an inflected language, and standard search knows nothing about morphology. "Чохол для айфона" and "чохли iPhone" are different queries to it. Typos ("нотбук"), wrong keyboard layout ("yjen,er" instead of "ноутбук") and transliteration ("krosivky") also return zero results. Tags partly solve this (more on them below); fully solving it requires smart search.
Apostrophes and quotation marks
This is purely our own problem. Ukrainian words contain three different apostrophe characters: the straight ', the typographic ’ and sometimes ʼ. If the name is "М’ясорубка" with a typographic apostrophe and the customer types a straight one, there will be no match. Escaping isn't the cause here: when OpenCart processes form data, it converts special characters &, <, > and double quotes (") into HTML entities, but it stores the straight apostrophe as is, both in the product name and in the customer's query. So the issue is the different apostrophe characters, and you should normalize them to one form.
SELECT product_id, language_id, name
FROM oc_product_description
WHERE name LIKE '%''%' OR name LIKE '%’%';
This query shows names with a straight and a typographic apostrophe. Pick one character and bring all names to it.
Codes
Models and SKUs are searched only by the full exact value. A customer who types "12345" instead of "AB-12345" will see nothing. If customers search by manufacturerA product brand. Manufacturers have their own pages. More in the glossary → codes, duplicate the main code in the name or in the tags.
How to improve standard search without modules
You can noticeably improve results at no development cost by working with the data rather than with code.
- Product tags. On the General tab of the product form there is a "Product Tags" field. Enter synonyms, colloquial names, common misspellings and variants in other languages, separated by commas: "айфон, iphone, ajfon, чохол, чехол, кейс". Tags are searched word by word, so even 5–10 well-chosen tags on popular products noticeably reduce the number of empty result pages.
- Names with keywords. The name should include the product type, brand, model and main characteristic: "Кросівки бігові Nike Pegasus 41 чоловічі." Without the product type ("Nike Pegasus 41"), the query "кросівки nike" won't work. For how to balance a name for the customer and for search, see the article on a product page that sells.
- Consistent names in all languages. In a bilingual store, fill in the name, description and tags for every language, not just the main one.
- Short queries. Every extra word narrows standard search. If people in your niche type long phrases, tags with different word forms become critical.

What not to do: turn the name into a bag of keywords. The customer sees the name in the catalog, in the cart and in the order email, so "Кросівки кросовки krosivky Nike" will put people off. For synonyms, use tags. If you need logic that isn't in the core, such as normalizing apostrophes or searching by part of a code, change the model via a modifier rather than the system files. The article on OCMOD and code edits without changing the core explains how this is done.
How to find out what customers are searching for and what they don't find
Fixing search blindly is pointless. First, find out which queries actually return zero results. Standard OpenCart has a search query log for this.
- Enable query logging in System → Settings, on the Option tab. Look for the field that controls saving customer search queries.
- In ExtensionsAdditional functionality: a module, a payment or shipping method, a feed, or a theme. They are managed in "Extensions → Extensions." More in the glossary → → Extensions, choose the "Reports" type, then install and enable the customer search report. The exact name may differ slightly depending on the version and translation.
- After a week or two, open Reports and look at the queries with zero results.

The second channel is Google AnalyticsA system for analyzing visitor behavior. It is connected with code or in "Extensions → Extensions," type "Analytics." More in the glossary → 4. GA4's enhanced measurement recognizes the search parameter in the address, so on-site searches appear in reports automatically. Just make sure this option is enabled in your data stream settings.
Sort the resulting list into three piles: the product really isn't in the range (a signal for purchasing), the product exists but is named differently (add tags or correct the name), or the query has a typo or is in the wrong keyboard layout (tags or smart search). Usually a few dozen of the most frequent queries account for most of the empty results, so start with them.
When you need smart search and what it gives you
Manual tags work while you have hundreds or a few thousand products. After that, two problems appear. The first is quality: you can't manually anticipate all word forms and typos. The second is speed: the LIKE '%слово%' condition doesn't use database indexes, and on large catalogs the search page becomes slow. This is where external search engines such as Manticore Search help: they build their own index and search with morphology in mind.
| Capability | Standard search | Smart search |
|---|---|---|
| Word forms (кросівки / кросівок) | No, only via tags | Yes, morphology |
| Typos and wrong keyboard layout | No | Yes, fuzzy search |
| Part of a code | No, exact match only | Usually yes |
| Sorting by relevance | No | Yes |
| Autocomplete suggestions | Not in the core | As a rule, yes |
| Speed on a large catalog | Drops as the database grows | Stable thanks to the index |
| Hosting requirements | Any | A separate service is needed (VPS) |
As a guideline: if there are many empty results and tags no longer help, or the catalog has grown to tens of thousands of items, it's time to move to smart search. For OpenCart 3.0, for example, there is a module based on Manticore Search with filter support. Another option is Advanced Search on the same engine. Before choosing, check whether your hosting allows running a separate service. On regular shared hosting this is often impossible, and you'll need a VPS.
Search and filters work as a pair: the customer finds a category with a query, then narrows the choice with filters. To set up the second half, read the article on product filters in OpenCart. Unfamiliar terms such as SKU or EAN are explained in the e-commerce glossary.
Summary
- OpenCart's standard search looks for a literal match of each word in the name in the current language, and codes only by exact value. It has no morphology, typo correction or relevance.
- If a product isn't found even by its exact name, check the status, date available, store link, the name in the required language, and the search form in the theme.
- Typical traps in Ukrainian stores: different apostrophe characters in names and queries, bilingual names that are incomplete.
- Without modules, the biggest improvement comes from tags with synonyms and typos, and from names that include the product type.
- Enable the search query log and review empty results every month.
- When tags no longer help or the catalog is very large, switch to smart search with its own index.
Start with the SQL checks and the query log. It takes an hour, and you'll see noticeably fewer empty results. Other articles on helping customers find products quickly are collected in the Catalog, Filter and Search section. If you're still choosing a platform, see the overview of OpenCart's strengths and weaknesses.