Elbuz smart search shows the same price in results as your site: from the right catalog field, with a sale or old price and the discount percentage, with your currency sign.
When you need this:
- The site uses a price field other than the catalog's main price — “Price source field” takes the right one.
- A product is on sale — search shows the sale price, the regular one crossed out and the discount in percent.
- Prices with cents are annoying — rounding to whole numbers removes them.
- The store doesn't sell in hryvnias — set your own currency sign.
Where to start: the “Prices” tab → “Price source field”.
What you can set on the “Prices” tab
- Where the price comes from — the catalog field that gets into search.
- Sale price, old price and RRP — which price the shopper sees when, and how the discount is calculated.
- Rounding and cents — how the number is written.
- Currency — the sign before or after the price.
1
Price source2
Rounding3
RRP instead of the price4
Sale and discount5
Currency sign- A catalog field; if you change it, rebuild the index.
- Always up, to a whole number.
- A filled-in RRP is shown instead of the price.
- The sale price, the crossed-out regular price and the discount percentage.
- A sign before or after the price; prices aren't converted.
Where search takes the price from
“Price source field” is the product price field that gets into the search index as the selling price. The list includes the catalog's price fields except cost price, delivery cost, old price and the RRP profit fields.
- By default, it's the product's main price.
- If you changed the field, click “Create search index” on the “Setup” tab: the price is taken when the index is built, and until the rebuild search shows the previous one.
- Search also filters and sorts by price using the same field.
When the shopper sees the sale price, old price and RRP
Three checkboxes work in order when a product is shown. All are on by default.
- “Show RRP” — if the product has an RRP, it's shown instead of the price from the source field. All further comparisons use it.
- “Show sale price” — if there's a sale price and it's lower than the price, the shopper sees the sale price, the regular price crossed out and the discount percentage.
- “Show old price” — if the old price is higher than the price, the shopper sees it crossed out and the discount percentage calculated from the old price.
For out-of-stock products, the crossed-out price and the percentage aren't shown. The percentage is calculated from the crossed-out price to the price the shopper sees and rounded to a whole number: a price of 900 with an old price of 1,000 gives −10%, a price of 850 gives −15%. When a product has both a sale price and an old price, the sale price is shown, the old one is crossed out, and the percentage is from the old price to the sale price.
If you turn a checkbox off, search stops showing that price from the next query; the index isn't rebuilt.
How to round the price
| Checkbox | What it does | Price 1 234,40 |
|---|---|---|
| nothing selected | price without the fractional part, standard rounding | 1 234 |
| Round prices (to whole number) | always rounds up, to the next whole number | 1 235 |
| Show decimals | shows cents — two digits after the decimal comma | 1 234,40 |
Thousands are separated by a space. Rounding changes only the display: the product goes into your site's cart at the site price.
How to set the currency
The “Currency” card has three fields: “Currency code”, “Currency symbol, left” and “Currency symbol, right”. By default the right one holds “грн” (UAH).
- Fill in one symbol field and leave the other empty: “right” gives “1 234 грн”, “left” gives “$1 234”.
- The “Currency code” (for example, UAH) is shown on the right if both symbol fields are empty.
- The currency only labels the number: prices aren't converted from one currency to another. The price must already be in the right currency in the source field.
Scenarios
The site shows the price from a separate “Site price” field
What to do. Select this field in “Price source field” and rebuild the index.
What you get. Search shows, filters and sorts by the same price as the site.
Shoppers need to see the discount
What to do. Keep “Show sale price” and “Show old price” turned on, and fill in the sale or old price for products.
What you get. The card shows the new price, the previous one crossed out and a percentage discount badge.
The store sells in euros
What to do. Replace “грн” in “Currency symbol, right” with “€”; prices in the source field must be in euros.
What you get. Prices in search look like “1 234 €”.
What to do when search shows the wrong price
| What you see | Why | What to do |
|---|---|---|
| The price in search differs from the price on the site | a different source field is selected, or “Show RRP” is on and the RRP is filled in | select the site's field and rebuild the index; turn off RRP |
| You changed “Price source field”, but prices are old | the price is taken when the index is built | click “Create search index” |
| You changed the price in the catalog, but search shows the old one | the change hasn't reached the index yet | see when changes reach search |
| No discount visible | the product is out of stock; the sale price isn't lower than the regular one, or the old price isn't higher; or the checkboxes are off | check the stock, the product's prices and the checkboxes |
FAQ
Will search convert prices at an exchange rate?
No. Search shows the number from the source field and labels it with your currency sign. The price in the right currency must be in the catalog.
Which price does the “from — to” filter use?
The price from “Price source field”, the one that got into the index.
Why is the RRP shown instead of the price?
“Show RRP” is on and the product has an RRP: then it replaces the price. Turn the checkbox off if you sell below the RRP.
How do I remove cents?
Clear “Show decimals”. To always round the price up, turn on “Round prices (to whole number)”.
Where it is and who has access
- Menu
- Directories → Categories → the “Widget settings - Smart search” tile → the “Prices” tab
- Access right
- the “Smart product search widget” window in “Group permissions”
- Prepare
- know which price field your site uses
Related topics
- For the big picture — smart search on your website: what it does and where to start.
- If you changed the price field — how to update the search index.
- If products without a price or archived ones shouldn't get into search — how to limit which products search shows.
- If you need to change the color of the price and discount — search window appearance.
