Elbuz smart search shows shoppers only the products you allow: you can hide out-of-stock products, move them to the end of the list, or set a condition that decides whether a product gets into search at all.
When you need this:
- Shoppers run into “out of stock” — search shows only what's buyable.
- Your range is narrow, and search looks empty without out-of-stock products — they go to the end of the list.
- The catalog has products without a price or photos, or service items — a selection rule keeps them out of search.
Where to start: the “Limits” tab → stock checkboxes, for everything else — the selection rule.
What you can limit
- Out-of-stock products — hide them or move them to the end, takes effect immediately.
- Any products by a condition — by catalog fields, takes effect after the index update.
- Categories and article sections — what gets indexed at all, set in the “Search index” card.
1
In stock only2
Out of stock at the end3
Selection condition4
Separate save5
The condition in words- Out-of-stock products aren't shown; takes effect immediately.
- Out-of-stock products come after those in stock.
- Products that don't match the condition don't get into the index.
- The condition is saved only with this button and takes effect after the index update.
- Spelled out, so you can check the condition before rebuilding the index.
How to hide out-of-stock products or move them to the end
The “Product display limit” card has two checkboxes, both on by default.
- “Search only for products that are in stock” — out-of-stock products aren't shown at all.
- “Show in-stock products first (out-of-stock at the end of the list)” — out-of-stock products stay but come after the ones in stock.
“In stock” means the stock statuses that have the “In stock” type selected in the stock status list; “On order” isn't included. Search receives the list of these statuses when the widget form is saved: if you changed a status type, open the smart search form and close the window.
Both checkboxes take effect from the next query, without rebuilding the index. When both are on, the first one wins: there are no out-of-stock products, so nothing moves to the end. How stock rules combine with the shopper's sorting — what happens when several rules are on.
How to set a condition for which products get into search
The “Which products to show in search” card is a condition builder over product catalog fields. A product that doesn't match the condition doesn't get into the search index: the shopper won't find it either in the search window or through the API.
- Add a rule: choose a catalog field, an operator and a value. For numbers and dates — “equal”, “greater”, “less”, “between”; for text — “contains”, “begins with”, “is empty” and others.
- Add more rules and groups, and choose “AND” or “OR” between them.
- Read the explanation below the buttons: the app restates the condition in words, for example “Price is greater than 0 and Total photos is greater than 0”.
- Click “Save” below the builder. This button saves only the condition: the form's autosave doesn't apply to it.
- Click “Create search index” on the “Setup” tab. The condition is applied when the index is built; until the rebuild, search shows products by the old condition.
- “Clear All” clears the builder. To remove the condition completely, clear it, click “Save” and rebuild the index.
- The condition is not saved — if it has a field or operator the builder doesn't offer, the app refuses with the message “The condition was not saved…”. Reopen the form and build the condition again.
- The condition and categories work together: search gets products from the selected categories that also match the condition.
A strict rule can hide most of the catalog from search. Read the explanation before rebuilding, and afterwards check a few usual queries on the “Search test” tab.
Scenarios
Shoppers see products that aren't available and leave
What to do. Keep “Search only for products that are in stock” turned on.
What you get. Search shows only products with statuses of the “In stock” type, from the next query.
Narrow range: without out-of-stock products, search is often empty
What to do. Turn off “in stock only”, keep “Show in-stock products first”.
What you get. The shopper sees all products found, with the ones that can be bought at the top.
The catalog has supplier products without a price and photos
What to do. Set the condition “Price” greater than 0 and “Total photos” greater than 0, save it with the button below the builder and rebuild the index.
What you get. Only products with a price and photos get into search; the rest of the catalog stays in Elbuz unchanged.
What to do when search shows the wrong products
| What you see | Why | What to do |
|---|---|---|
| You changed the condition, but search shows the same products | the condition takes effect only after the index rebuild, or it wasn't saved with its button | click “Save” below the builder, then “Create search index” |
| After the rebuild, search is almost empty | the condition cut off most of the catalog | reread the explanation, loosen the condition, rebuild |
| The product is in stock, but search doesn't show it | its stock status type isn't “In stock” | change the status type, open and close the widget form |
| Out-of-stock products are still shown | “in stock only” is off | turn the checkbox on |
FAQ
How do I show only one category in search?
Select it with the “Product categories” button in the “Search index” card — details in how to index part of the catalog.
Which is better: “in stock only” or “in stock first”?
Wide range — “in stock only”. Narrow — “in stock first”, otherwise search is often empty.
Does the condition apply to the search API?
Yes. A product that didn't pass the condition doesn't get into the index, so it isn't in API responses either.
Why isn't the condition saved together with the other form fields?
The builder has its own “Save” button: the server checks the condition before writing it. Click it after every change.
Where it is and who has access
- Menu
- Directories → Categories → the “Widget settings - Smart search” tile → the “Limits” tab
- Access right
- the “Smart product search widget” window in “Group permissions”
- Prepare
- the “In stock” type for the stock statuses with which a product can be bought
Related topics
- For the big picture — smart search on your website: what it does and where to start.
- If you need to update search after changing the condition — how to build the search index.
- If search should understand your words and synonyms — how to set up results.
- If you need to check the result of the condition — testing search without the widget.
