Improving search
Profitable products first
On this page
With Profitable products first, search shows products with a good margin higher up when several results match about equally well. What the visitor searched for always comes first: a product with a high margin only moves past products that match barely better.
The card is on a site's Search & relevance tab, in the Fields & ranking section, right below personalized ranking:
- Click Sites in the navigation.
- Click your site, for example Northline Outdoor.
- Open the Search & relevance tab and the Fields & ranking section.
Members with the Owner, Manager or Editor role can change the card.
Requirement: purchase prices
Searcio needs each product's purchase price. From it, Searcio works out the margin at the current selling price. When a product is reduced, its margin therefore goes down until the next sync after the sale.
- Your shop sends the purchase price with every sync. Through the API, the field is
cost_price. - A shop that would rather not send purchase prices can send the margin in percent instead, in the
margin_percentfield. - How many products already have a margin is shown under Known margins on the card, for example "70 of 86 products". Products without a known margin are not lifted.
When it reads "No product has a purchase price yet", your shop does not send purchase prices yet, and the setting has no effect so far. In the WordPress plugin, turn on Purchase price, for profit ranking under Product details on the Indexing tab.
Which prices the margin is counted in
The margin is the profit as a share of the price: the price minus the purchase price, divided by the price. Price and purchase price must be on one basis, both with tax or both without, and the margin is then the same either way. The WordPress plugin takes care of this: it enters the purchase price without tax and adds the tax to it when your shop shows prices with tax.
The Minimum profit per sale is a profit in money, and tax is not profit. When your shop also sends the price without tax, Searcio counts it without tax. Otherwise it is the price minus the purchase price in the prices your shop shows, and tax counts as profit when those prices include it. Through the API, the field is price_excluding_tax.
How products are lifted
Every product has a target margin from which it counts as profitable.
- When a product's margin is below its target, it is not lifted.
- When the margin reaches the target, the product gets half the lift. The higher the margin, the stronger the lift, up to the full lift at twice the target.
- The strength sets how far the full lift reaches. At 15%, a product only overtakes results that match at most 15% better. A product that matches much better keeps its place.
With a target margin of 25% and a strength of 15%, for example:
| Margin of the product | Lift |
|---|---|
| 20% | none |
| 25% | half: overtakes results that match up to 7.5% better |
| 50% and more | full: overtakes results that match up to 15% better |
Without a search term, as on a category page or in the highlights the search window shows when it opens, search orders all products by this lift alone. Products out of stock stay at the back. Under Advanced, Also order listings without a search term turns this off: such lists then keep their usual order, and searches with a term are lifted as before.
The lift applies to search, the product finder and the AI assistant. Products a result rule shows first stay at the very top.
Turning it on and setting it up
While the switch is off, the card shows Known margins, the preview and the effect on your frequent searches with the settings you saved, so you can see what profit ranking would change before you turn it on.
- Turn on the switch on the card. It is saved at once.
- Enter the Target margin (default). It applies to every product no target of its own matches.
- Enter the Strength, from 1 to 50%. 15% is a good start.
- Click Save.
The strength is capped at 50%, so visitors always find what they are looking for. A saved change applies to the next search.
Own target margins
What counts as a good margin depends on the category and the brand. For televisions 12% is a lot, for speakers 40% is normal. Under Own target margins you give such products a target of their own:
- Click Add a rule.
- Pick the Field: Category, Brand or another filter field your products carry. Fields that only posts have, and numbers such as the price, are not offered. A field is named as your shop names it when the shop sends its field names; otherwise the name is made readable, so
attr_farbereads "Farbe". - Enter the Value, for example
Televisions. As you type, Searcio suggests the values your products have and shows below how many products carry it. A value counts as your products spell it: when you typetelevisionsand your products haveTelevisions, Searcio saves your products' spelling. When no product has the field at all, the row says so. - Leave the effect on Target margin and enter the target.
- Click Save.
A rule for a category also covers its subcategories when your shop sends a product's parent categories, as the WordPress plugin and the Magento module do.
Which rule applies
- When several rules match a product, the more specific one applies: the one with fewer products. A rule for the OLED televisions subcategory therefore applies before one for all televisions.
- Searcio stores the rules in this order, so after saving, the rule that applies is at the top.
- A site can have up to 100 rules.
Never lifting products
Set a rule's effect to Never lift, and products with this value are never lifted, for example a clearance category or a brand under a fixed agreement. Such a rule always applies, even when a more specific rule with a target matches.
Importing and exporting rules
For many categories, a list is quicker:
- Click Import.
- Paste one rule per line, separated by semicolons:
category;targetorfield;value;target. Instead of a number,nevernever lifts these products. A first linefield;value;targetis skipped. - Check the note below the field, for example "3 rules found", and click Apply.
- Click Save.
Televisions;12
brand;Own brand;45
Clearance;neverThe import replaces the current rules. When a line is not valid, the window names it and nothing is applied. Export downloads the current rules as a file in the same format, with the header line field;value;target, a decimal comma and never for products never lifted, so that Excel opens it correctly. You can paste it back as it is.
Advanced
Under Advanced are three more settings:
- Minimum profit per sale: products that earn less per sale are not lifted, however high their margin. That way no cheap accessory with a high margin moves up. When your shop also sends the price without tax, the profit is counted without tax; otherwise in the prices your shop shows, where tax counts as profit if they include it. Empty means no minimum.
- Search terms without profit ranking: one term per line. For these searches only relevance counts, for example brand names or terms like "returns". A term only applies to exactly that search, whatever its capitals.
- Also order listings without a search term: on by default. A category page or the highlights have no search term, so every product matches equally well and profit alone decides the order. Turn it off to keep these lists in their usual order, for example when a category page should show new products or your own favourites first.
Preview and effect
The Preview shows how search orders a term with the settings on screen, even before you save:
- The preview runs the search your shop runs, the AI part included. When the AI part is not available for a moment, the preview says it shows a keyword search. On a site with several languages, pick the language to search in above the preview.
- Above the list is the average margin of the first 5 results, before and after. When not all of them have a known margin, it says how many it rests on, for example "2 of 5".
- Each row shows the product's margin, the target it is measured against and how many places it moves up or down.
- Products a result rule shows first are left out of the preview, as they stay on top whatever their margin.
Under Effect on your most frequent searches, Calculate does the same for the 10 most frequent search terms of the last 30 days:
Terms that differ only in capitals, such as "Jacke" and "jacke", count as one. That way you see before saving whether a setting improves the searches that matter. New on top counts the products that only reach the first 5 because of the setting.
Privacy
Purchase prices and margins stay private. Searcio does not store the purchase price, only the margin worked out from it, and uses that only for the order. It never appears in search results, suggestions, exports, with the AI assistant or through the API, and it cannot be used as a filter or as a search field.