On this page
Rule types
| Rule | What it does | Good for |
|---|---|---|
| Boost | Ranks matching products higher, mildly, strongly or very strongly. | A new range, own brand or products with good margin |
| Bury | Ranks matching products lower. | Samples, accessories or a line you’re running down |
| Pin | Fixes a product at a position, starting at 1. | A hero product at the top of a category |
| Exclude | Removes matching products from results. | Products you don’t want shown in a listing |
Create a rule
-
Start a new rule
Navigate to Merchandising → Rules and click New rule. Select what type of rule you want to create.
-
Choose what it matches
Under Match on, select SKU, keyword, title keyword, category, product attribute (brand, colour, material and so on), price, on sale, new products, stock or a store promotion. Then select a Strength, or Pin to position if you’re creating a pin.
-
Choose where it applies
Applies to sets where you want your rule to apply: everywhere, search results, category pages, AI advisor answers only or recommendation rows only. You can also limit it to certain search terms, with Search must contain or equal them.
-
Choose who sees it
Under Audience, select Customer groups, Customer segments (Adobe Commerce) or a Signed-in state. Leave them blank to apply to everyone.
-
Set the dates and save
Select your website and, if it’s time-limited, set Starts at and Expires at dates. Then Save draft or Publish rule. If you have 2 rules that conflict with each other, the rule with the lower priority number wins.
Example: Fernwick Trade Supply want their own-brand fixings to appear first when their trade customers search for screws in October. They would create a Boost rule, matched on the brand attribute and applied to search results, limited to searches containing “screws”, for the Trade customer group, from 1 to 31 October.
Preview before you publish
Navigate to Merchandising → Visual merchandiser to see what your customers see. Select your website, store view, a search or category and the sort order. Select who you want to see the listing as (a guest or a customer group) and a date. If you want to see your draft rules applied, tick Include draft rules.
You can see why each product is appearing where it is, such as a boost or a pin. You can drag and drop products to a new place using their handle, or use the menu on each product to pin, boost, bury or hide it. All changes you make are saved as a draft for that listing until you publish them. Previews never affect what your customers see. From the Rules list you can click Preview in Visual merchandiser to open a rule’s listing directly.
Ask the copilot (Pro and Enterprise)
The AI merchandiser copilot is available on Pro and Enterprise, in the Visual merchandiser. Ask it what you want in plain English, such as “Boost this brand in searches for decking from 1 October” or “Why is this product 14th?”, and it proposes rules for you to preview in the grid and save as drafts. Nothing goes live until you publish. The AI merchandiser copilot is enabled by default on Pro and Enterprise. An admin can disable it for a website under Storefront → Websites, Storefront features, Merchandising.
Manage rules
- Publish selected drafts puts several drafts live at once.
- Back to draft takes a live rule off without losing it.
- Archive retires a rule, and Discard draft deletes a draft.
Any positions you have curated for a category in Magento remain first. If you want to create a sale or seasonal campaign with its own landing page and search terms, use Merchandising → Campaigns to keep everything for it in one place.
FAQ
Questions about merchandising rules
Why doesn’t our boost show when shoppers sort by price?
Boost, bury and pin only affect the Relevance and Recommended sorts. If a customer has sorted by price they see products in order of price.
Which rule wins when two clash?
The rule with the lower priority number. All new rules start with a priority of 100, so if you want a rule to win, give it a lower number, such as 10.
Can we try a rule as a trade customer before it goes live?
Yes. Create the rule and save it as a draft. Navigate to Merchandising → Visual merchandiser. Under Who and when, select your trade customer group as the Shopper and tick Include draft rules. This shows you the listing as a trade customer would see it. Nothing changes on your store until you publish.
Related help and reading
Merchandising
Rules and the visual merchandiser in full.
For merchandisers
How to run your trading meeting using Ottla.
Customer group
What a Magento customer group is.
Magento site search guide
Ranking, synonyms and what shoppers expect.