This is the complete documentation for STM Layered Navigation Pro (version 0.9.3), listed on the Adobe Commerce Marketplace as Layered Navigation Pro. It replaces the Magento filters with a navigation that shoppers find products with faster and that search engines read cleanly: several values per filter, readable filter addresses, filtering without reloads, a price slider, brand and landing pages, a crawl shield and filter analytics. Everything on this page is free to read — no registration, no account. The same documents are attached to the Marketplace listing as PDF downloads.
| Item | Details |
|---|---|
| Composer package | storetown-media/module-layered-navigation |
| Magento module | STM_LayeredNavigation |
| Requirements | Magento Open Source or Adobe Commerce 2.4.7 or later, PHP 8.2 to 8.5, OpenSearch or Elasticsearch |
| Magento versions | Magento Open Source, Adobe Commerce and Adobe Commerce Cloud 2.4.7 to 2.4.9All 18 versions including patches
|
| Themes | Luma and Luma-based themes. Hyvä through a companion module, free of charge on request at moin@storetown-media.de. |
User Guide
Set up and use every feature, with its place in the admin and its effect in the store.
1. What the extension does
STM Layered Navigation Pro replaces the Magento filters with a navigation that helps shoppers find products faster and that search engines read cleanly. Shoppers pick several values per filter, for example black and blue at once. The number next to an option shows how many products the click brings, even when something is already selected in the same filter. Selected values appear as chips above the list.
Parameter addresses such as ?color=49 become readable filter addresses such as /men/tops/black.html. Every combination has exactly one spelling, other spellings redirect there with a 301. From two filters on, with several values of one filter and with price filters, the navigation sets noindex. The crawl shield does not serve deep filter combinations to known crawlers.
On top come filtering without reloads, a hint instead of a dead end at zero results, a price slider, a category tree with fly-out, six extra filters, brand pages, landing pages, option groups, texts per filter option, default filters per customer group, saved selections, analytics of filter usage and AI texts. The templates are built for Luma; for Hyvä themes a companion module is available free of charge on request (section 11).
2. Requirements and installation
| Item | Details |
|---|---|
| Magento | Magento Open Source 2.4.7 and later. Tested on 2.4.8-p4 and 2.4.8-p5. There is no separate test on Adobe Commerce yet. |
| PHP | 8.2, 8.3, 8.4 and 8.5 |
| Search | OpenSearch or Elasticsearch. Tested with OpenSearch and Elasticsearch 7.10.2. |
| Themes | Luma and Luma-based themes without changes. Hyvä through the companion module, free of charge on request, tested with Hyvä 1.4.5 and 1.5.3 (section 11). |
| Languages | Interface texts in 11 languages: German, English, French, Spanish, Italian, Dutch, Polish, Portuguese, Swedish, Danish, Czech. |
Installation
Install the extension with Composer from repo.magento.com (details in the installation guide) and run:
composer require storetown-media/module-layered-navigation
bin/magento module:enable STM_LayeredNavigation
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento indexer:reindex catalogsearch_fulltext
bin/magento cache:flush
The extension ships switched off. Enable it under Stores › Configuration › STM Extensions › Layered Navigation › General › “Enable STM Layered Navigation”. Switched off, category, search and product pages render exactly as without the extension.
3. First steps
- Stores › Configuration › STM Extensions › Layered Navigation › General: set “Enable STM Layered Navigation” to Yes.
- Content › STM Layered Navigation › Quick setup & transfer: pick one of the four presets for all filterable attributes.
- Stores › Configuration › STM Extensions › Layered Navigation: the page is split into five chapters, a jump bar at the top leads to Filters, SEO and crawling, Brands and pages, Customers and analytics, and Extras. Switch on readable filter addresses (section 6) and extra filters as needed (section 5).
- After switching on extra filters run
bin/magento indexer:reindex catalogsearch_fulltextonce. - Stores › Attributes › Product: fine-tune single attributes on the “STM Layered Navigation” tab (section 4).
- Create brands and landing pages when the store needs them (sections 7 and 10).
4. Settings per attribute
Every product attribute with “Use in Layered Navigation” gets the tab STM Layered Navigation in the attribute form. Attributes without settings of their own take the defaults of the group “Defaults for new filters”. Content › STM Layered Navigation › Filter overview lists all filterable attributes with their settings.
| Field | Meaning |
|---|---|
| Display mode | Labels with checkboxes, images, images with labels, text swatches; for price and decimal attributes fixed ranges, slider or from-to fields. Image modes need swatch data on the attribute, otherwise the filter falls back to labels. |
| Show in block | Sidebar, horizontal block above the list, or both. |
| Position | Order in the block; empty = position of the attribute. |
| Sort options by | Position, name or product count. |
| Show product counts | Magento default, always or never. |
| Show search box / Search box from this number of options | Search box inside the filter from the given number of options. |
| Number of unfolded options | Options before “show more”; 0 = all. |
| Expand on page load | Whether the filter is open on load. Applied filters are always open. |
| Allow multiselect / Multiple values logic | Several values at once; “any value” (or) or “all values” (and, for multiple-select attributes). |
| Add from-to widget, Minimum / Maximum slider value, Slider step, Unit label, Hide zero decimals | Price and decimal attributes only. |
| Visible in categories | Categories in which the filter appears; empty = everywhere. |
| Show only when one of these filters / options is applied | Dependent filters: the filter appears only once one of the attributes or options is selected. |
| Generate SEO URL | Whether the filter may go into the readable address. |
| Allow search engines to INDEX / FOLLOW | Robots rule for pages with this filter. |
| Attribute URL alias | Segment of the attribute in the address when “Include the attribute alias in the URL” is on. |
5. Chapter 01: Filters
General
| Field | Meaning |
|---|---|
| Enable STM Layered Navigation | Off = Magento navigation unchanged. |
| Apply filters on desktop / on mobile | Filter instantly, or collect the selection and confirm with “Apply”, separately for desktop and phone. |
| Keep single-select filters visible after selection | Keep single-value filters after the choice. |
| Hide filters with one available option | Hide filters with only one option. |
| Vertical scrolling inside a filter after (px) | Long option lists scroll from this height. |
| Render the horizontal block above the product list | Horizontal filter block above the list. |
| Highlight colour | Accent colour for checkboxes and slider. |
| Load filter results with AJAX | The list swaps without a page change. The data comes from the same page the page cache holds: a filtered page comes from the cache on the second request. Works on the search results page too. |
| Product counts | One request for all counts (default) or separate requests per filter. |
| Price filter: net or gross | As the store displays prices (default), always net or always gross. Applies per customer group according to its tax settings. |
| Scroll after AJAX load, Sticky sidebar on desktop, Mobile filter sheet | Scroll target after loading, sidebar that stays in view, filter sheet on the phone with a button that counts the hits. |
| Zero results: suggest which filter to release | See below. |
| Adobe Live Search | Detects the Live Search modules (Adobe Commerce). When Live Search is active, the extension draws no second filter block. This coupling is built against the module names and has not been tested on a Commerce system; please check it on a staging instance. |
Zero results: when a combination leads to no product, a box appears above the empty list. It names every applied filter with the number of products that remain without it; the filter with the most hits is a button below. The numbers are only calculated on zero-result pages, with one small search request per filter.
Defaults for new filters
The same fields as on the attribute (section 4). They apply to every attribute without settings of its own.
Category filter
The category filter is a tree with counts; several subcategories can be selected at once. On the all-products page and in search it shows the whole tree from the root; a parent category filters its whole branch there. Fields: title, position, multiselect, start level (Show), depth, unfolded levels, counts, excluded categories. Subcategories view “Fly-out (desktop)” opens subcategories beside the parent from 768 px width; on the phone they fold open below. Tree display mode shows names, category images or both.
Children categories block
Above the product list the subcategories of the current category appear, as thumbnails or names, as a grid or a slider (items per slide, endless loop). “Categories” sets the scope: all categories, only the listed ones, or all except the listed ones (IDs separated by commas).
Extra filters
Six extra filters, each with its own title and position:
- Availability: in-stock items only.
- New: from the “Set Product as New” dates.
- On sale: items with a special price or a price rule.
- Discount: discount in percentage steps (default 10, 25, 50).
- Rating: from a number of stars.
- Delivery time: in steps (default 1, 3, 7, 14 days), from stock, backorders or an attribute of your own with days.
The values live in the search index: after switching them on run indexer:reindex catalogsearch_fulltext once. Availability and delivery time read the Magento default stock.
Load more and infinite scroll
Instead of page numbers a “Load more” button or loading on scroll. The pager stays in the source for search engines.
6. Chapter 02: SEO and crawling
SEO
With SEO-friendly filter URLs filters become part of the path: /men/tops/black-blue.html. The aliases come from the option names per store view, umlauts are written out. New aliases are never assigned as a chain of existing ones; bin/magento stm:ln:status reports ambiguous aliases that already exist in the store. Every combination has exactly one spelling; parameter addresses and swapped orders redirect there with a 301, an unknown alias answers with 404. When an alias changes, the old address redirects with a 301. Price, category tree and extra filters stay parameters in the address.
| Field | Meaning |
|---|---|
| Include the attribute alias in the URL | /color-black/ instead of /black/; useful when options of different attributes share names. |
| Filter key | Fixed segment before the filters, e.g. /filter/; lets you block all filtered pages in robots.txt. |
| Separator between the values of one filter | Default “-”. Different filters are always separated by “/”. |
| 301 redirect from parameter URLs to the SEO URL | Old parameter addresses move to the readable address. |
| Let the module set the robots meta tag | No = leave robots to another SEO extension. |
| NOINDEX from this number of applied filters | Default 2: pages with two or more filters get noindex. Filters marked “do not index” on the attribute count from one. |
| NOINDEX when a filter has several values | Black + blue in the same filter = noindex. |
| Add rel=“nofollow“ to filter links that lead to NOINDEX pages | nofollow only on links whose target would be noindex. |
Price filters are always noindex. Pages past the last page of a list answer with 404.
Canonical URL and pagination
Canonical of filtered category pages and of brand pages, canonical on noindex pages as well, rel="prev" and rel="next", page number in meta title and meta description.
Texts of filter options
When an option is applied (e.g. “Black”), its text can flow into the category page: title, description, meta title and meta description, each before, after or instead of the category text; image and CMS block of the option can replace those of the category. You maintain the texts under Content › STM Layered Navigation › Option pages & brands.
Crawl shield
Listed crawlers are not served combinations with more filters than allowed (default 1) but status 410 (or 404 or 403). So the page cache does not fill up with variants. This applies on category, brand, landing and all-products pages. The default list holds SEO tools and AI crawlers; Googlebot and Bingbot are deliberately not on it, the robots rules apply to them. Human visitors are never affected.
Sitemap and hreflang
Brand pages, landing pages and the all-products page in the Magento XML sitemap, with frequency and priority; hreflang links on brand and landing pages.
7. Chapter 03: Brands and pages
Brands
A select attribute (e.g. manufacturer) becomes the brand. This gives you:
- brand pages at
/brand/<alias>.htmlwith logo, banner, text, meta data, all filters and pagination; - the overview of all brands at
/brands.htmlwith letter bar, search, logos and counts; - a “Brands” entry in the main menu with a submenu (Luma and Hyvä);
- on the product page logo, brand name, short text and the block “More from this brand”, in the product list the logo;
- Schema.org Brand on brand pages and Product with brand on product pages;
- the widgets “STM Brand List”, “STM Brand Slider” and “STM Brand Info” under Content › Widgets.
Logo, banner, texts and the manufacturer details (manufacturer, importer, responsible person) are maintained per brand under Content › STM Layered Navigation › Option pages & brands.
Landing pages
A landing page is a fixed filter combination under its own address, for one category or the whole store, with heading, text (Page Builder), image, CMS blocks, meta data, robots and store views. When a shopper picks exactly this combination in the category, the filtered page points to the landing page with a canonical. When further filters are added, the page gets a title of its own and noindex. Strict matching = Yes: the landing page applies only to exactly its combination. Use the category description when the page has none takes over the category text.
All products page
The whole catalogue with all filters on one page, default /all-products.html, with its own title, text and robots.
8. Chapter 04: Customers and analytics
Customers and B2B
Saved selections: logged-in customers save their filters under a name and find them again under “My Account”, up to 50 per customer. Guests are sent to the login.
Default filters per customer group: one line per group, e.g. 2:stm_stock=1;material=33 (group 2 sees only in-stock items of material 33). The filters apply on category pages until the customer removes them. Not recommended for guests (group 0), because search engines come as guests too.
Filter analytics
Content › STM Layered Navigation › Analytics shows which filters and values are used, which combinations stay without results and which frequent combinations deserve a landing page; a click on a suggestion opens the landing page form with title, category and filters. Recording happens without personal data, retention in days (default 90), crawlers optional.
9. Chapter 05: Extras (AI texts)
Once switched on and given your own API key, the forms of brands, options and landing pages show a button that suggests page title, short description, description and meta data. Only empty fields are filled unless “Overwrite filled fields” is ticked; nothing is stored until you save. Providers: Anthropic (default model claude-opus-5-5) or an OpenAI-compatible service. Language, style instructions and text length are configurable; switch off “Send product names as context” if no product names should leave the store. All brands at once:
bin/magento stm:ln:ai:brands --store=0 --missing-only --dry-run
Without --dry-run the texts are saved; --overwrite replaces existing texts.
10. Maintenance in the Content menu
| Menu item | Content |
|---|---|
| Filter overview | All filterable attributes with their settings. |
| Option pages & brands | Per option alias, title, texts (Page Builder), image, CMS block, meta data; for brands also logo, banner and manufacturer details. |
| Option groups | Several values of one attribute as one entry, e.g. black and grey as “Dark”, with its own label per store view, its own address and position; the members can be hidden. |
| Landing pages | Create and edit landing pages (section 7). |
| Analytics | Analytics (section 8). |
| Quick setup & transfer | Four presets for all filterable attributes at once. Export of all settings, option texts, groups and landing pages as JSON and import into another store, with dry run, merge or replace. When replacing, the import first writes a backup to var/ and rolls everything back on an error. |
You edit the descriptions of landing pages and options in Page Builder when it is active (Stores › Configuration › General › Content Management), otherwise in the WYSIWYG editor.
11. Hyvä
The companion module is not part of the Marketplace package. Stores with a Hyvä theme receive it free of charge on request at moin@storetown-media.de, as a ZIP for app/code/STM/LayeredNavigationHyva/.
The companion module STM_LayeredNavigationHyva brings Alpine.js and Tailwind templates for the filter block, chips, options, swatches, search box, slider, category tree, filtering without reloads, “Load more”, saved selections, the brands entry in the menu and the brand widgets. It only acts on pages rendered by a Hyvä theme; a Luma store view next to it stays on Luma.
bin/magento module:enable STM_LayeredNavigationHyva
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento hyva:config:generate
cd app/design/frontend/<Vendor>/<theme>/web/tailwind && npm ci && npm run build-prod
bin/magento setup:static-content:deploy -f
Hyvä Menu Builder: the brands entry does not appear there by itself. Add an item with the widget “STM Brand List” in the Menu Builder.
12. GraphQL, REST and command line
| Interface | Content |
|---|---|
stmLnSettings(attribute_codes) |
Display settings per attribute with aliases and groups |
aggregations { stm_ln { … } } |
Adds the settings per filter to the Magento products query |
stmLnBrands |
All brands with logo, address and product count |
stmLnPage(url) |
Brand, landing or all-products page for an address |
stmLnRoute(url) |
Resolves a filter address: page, filters read from the path and the one valid spelling |
stmLnUrl(category_id, filters) |
Readable address and robots for a filter state |
REST /V1/stm-layered-navigation/pages |
Read, create, update and delete landing pages (GET, POST, PUT, DELETE) |
bin/magento stm:ln:status |
Settings, filterable attributes, ambiguous aliases |
bin/magento stm:ln:vcl |
Prints the VCL snippets for Varnish and Fastly |
bin/magento stm:ln:ai:brands |
AI texts for all brands (section 9) |
13. Page cache, Varnish and Fastly
The extension works with the Magento page cache. For Varnish and Fastly two snippets ship in the module folder docs/vcl/, bin/magento stm:ln:vcl prints them. fastly-ajax-hash.vcl separates the AJAX responses by customer group on Fastly (custom VCL snippet, type hash). varnish-device-hash.vcl separates cache entries for mobile and desktop; only needed if you vary markup per device.
14. Troubleshooting
| Symptom | Cause and fix |
|---|---|
| Extra filters missing or showing 0 | Index not rebuilt: bin/magento indexer:reindex catalogsearch_fulltext. |
| Image mode shows labels only | The attribute has no swatch data (Stores › Attributes › Properties › Visual or Text Swatch). |
| Readable address returns 404 | Alias unknown: after attribute changes run bin/magento cache:clean; filter key or separator changed. |
| Counts do not match the result list | Switch General › Product counts to separate requests. |
| Two filter addresses for the same page | bin/magento stm:ln:status shows ambiguous aliases; change the alias of one option. |
| Filters look like Magento’s own | The extension is switched off: Stores › Configuration › STM Extensions › Layered Navigation › General › “Enable STM Layered Navigation” = Yes, then bin/magento cache:flush. |
| Hyvä shows the old look | Run hyva:config:generate and the Tailwind build (section 11). |
Support: moin@storetown-media.de
Installation Guide
Install with Composer, switch on, check, update and remove.
1. Before you start
- Your access keys for
repo.magento.com. You find them in your Commerce Marketplace account under My Profile › Access Keys. - Back up your files and database. On a live store, switch on maintenance mode for the installation (
bin/magento maintenance:enable).
2. Install with Composer
Run in your Magento root directory (the folder that contains app and bin):
composer require storetown-media/module-layered-navigation
bin/magento module:enable STM_LayeredNavigation
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento indexer:reindex catalogsearch_fulltext
bin/magento cache:flush
If Composer asks for a username and password, enter the public key as username and the private key as password. setup:static-content:deploy is only needed in production mode.
3. Switch the extension on
The extension ships switched off, so the installation changes nothing in your storefront. Switched off, category, search and product pages render exactly as without the extension.
- Stores › Configuration › STM Extensions › Layered Navigation › General: set Enable STM Layered Navigation to Yes and save. You can switch it on per website or store view, for example in a test store view first.
- Content › STM Layered Navigation › Quick setup & transfer: pick one of the four presets for all filterable attributes.
- Run
bin/magento cache:flush. After switching on extra filters (stock, new, on sale, discount, rating, delivery time) runbin/magento indexer:reindex catalogsearch_fulltextonce.
4. Check the installation
bin/magento module:status STM_LayeredNavigation
bin/magento stm:ln:status
The second command lists the settings and the filterable attributes and names ambiguous aliases. In the admin the extension is under Content › STM Layered Navigation and Stores › Configuration › STM Extensions › Layered Navigation; every filterable attribute gets the tab “STM Layered Navigation” in the attribute form.
5. Page cache, Varnish and Fastly
The extension works with the Magento page cache. For Varnish and Fastly two snippets ship in the module folder docs/vcl/; bin/magento stm:ln:vcl prints them. Details in the user guide, section 13.
6. Updates
composer update storetown-media/module-layered-navigation
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
Settings, brands, option pages, landing pages and analytics are kept.
7. Uninstall
bin/magento module:disable STM_LayeredNavigation
composer remove storetown-media/module-layered-navigation
bin/magento setup:upgrade
bin/magento cache:flush
The tables of the extension (prefix stm_ln_) stay until you delete them.
8. Common errors
| Symptom | Cause and fix |
|---|---|
| Composer asks for a username and password | The access keys for repo.magento.com are missing in the project (section 1). |
| Filters look like Magento’s own | The extension is switched off (section 3). |
| Extra filters missing or showing 0 | Index not rebuilt: bin/magento indexer:reindex catalogsearch_fulltext. |
| Readable filter address returns 404 | Readable addresses are switched off or the alias is unknown; run bin/magento cache:clean after attribute changes. |
Help
For installation questions, write to moin@storetown-media.de.
Reference Manual
This manual lists every setting of the extension with its meaning, default and scope. It is generated from the source code and therefore matches the backend. The guide with examples is the user guide.
1. Configuration
Stores › Configuration › STM Extensions › Layered Navigation
Chapter 01 · Filters
General (general)
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Enable STM Layered Navigation | No = Magento’s own navigation blocks and filters are used again. | No | Global, Website, Store View |
| Apply filters on desktop | Instantly = every click loads the result. By button = customers tick several options and press Apply. Values: Instantly, By button click |
Instantly | Global, Website, Store View |
| Apply filters on mobile | Values: Instantly, By button click | By button click | Global, Website, Store View |
| Keep single-select filters visible after selection | Magento hides a filter as soon as one of its values is applied. Yes keeps it in place so the value can be swapped. | Yes | Global, Website, Store View |
| Hide filters with one available option | Applies to attribute filters. A filter with one option cannot narrow the result. | No | Global, Website, Store View |
| Vertical scrolling inside a filter after (px) | Option lists taller than this get their own scrollbar. 0 = never. | 0 | Global, Website, Store View |
| Render the horizontal block above the product list | Filters whose „Show in block“ is Top or Both are placed there. | Yes | Global, Website, Store View |
| Highlight colour for selected options | Hex value such as #1b4d8c. Empty = theme colour. | – | Global, Website, Store View |
| Load filter results with AJAX | Filters, chips and pagination update the product list without a page reload; the address bar and the browser history follow. | Yes | Global, Website, Store View |
| Product counts | Single request: the counts of multiselect filters (without their own selection) and of the extra filters travel as aggregations inside the listing request. Separate requests: one small search per count, for engines that cannot run global aggregations. Values: Single request (global aggregations), Separate requests (one search per count) |
Single request (global aggregations) | Global, Website, Store View |
| Price filter: net or gross | The index stores prices as the catalog does (usually net). „As displayed“ shows the slider, the from-to fields and the chip in the way the shop shows prices to this customer (gross for B2C, net for a B2B group with tax display „excluding“); the URL keeps the stored values. Uses the default product tax class and the customer’s tax rate. Values: As the shop displays prices to the customer, Always net (as stored), Always gross |
As the shop displays prices to the customer | Global, Website, Store View |
| Scroll after AJAX load | Values: Stay where the visitor is, To the top of the product list, To the top of the page | To the top of the product list | Global, Website, Store View |
| Sticky sidebar on desktop | The filter block follows the scrolling while the product list is longer than the block. | Yes | Global, Website, Store View |
| Mobile filter sheet | On phones a „Filter“ button opens the filters as a full-screen sheet with a „Show N products“ button. | Yes | Global, Website, Store View |
| Zero results: suggest which filter to release | When no product matches, a box above the empty list names every applied filter with the number of products the shopper gets by removing it; the best step is a button. | Yes | Global, Website, Store View |
| Adobe Live Search | Live Search (Adobe Commerce) renders listings and facets with its own widget. Where it is active the module keeps SEO URLs, brand and landing pages, redirects, robots rules, crawl shield and analytics, but does not render a second filter block. Values: Automatic (detect the Live Search storefront modules), Live Search renders the listing: no own filters, Always render the own filters |
Automatic (detect the Live Search storefront modules) | Global, Website, Store View |
Defaults for new filters (defaults)
Used for every filterable attribute that has no settings of its own yet. Change a single attribute under Stores › Attributes › Product › tab „STM Layered Navigation“.
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Display mode | Values: Labels, Images, Images and labels, Text swatches, Ranges, Slider, From-to only | Labels | Global |
| Show in block | Values: Sidebar, Top (above the product list), Both | Sidebar | Global |
| Sort options by | Values: Position, Name, Product count (highest first) | Position | Global |
| Show product counts | Default = Magento’s own setting under Catalog › Layered Navigation. Values: Default (Magento setting), Yes, No |
Default (Magento setting) | Global |
| Show search box | No | Global | |
| Show the search box when the filter has more options than | 10 | Global | |
| Number of unfolded options | Further options sit behind „Show more“. 0 = show all. | 0 | Global |
| Expand filter on page load | Values: Auto (theme behaviour, applied filters open), Yes, Desktop only, No | Auto (theme behaviour, applied filters open) | Global |
| Allow multiselect | Yes | Global | |
| Multiple values logic | Any = a product matches one of the chosen values. All = a product carries every chosen value (multiselect attributes). Values: Show products with any of the values (OR), Show products with all of the values (AND) |
Show products with any of the values (OR) | Global |
Category filter (category_filter)
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Enabled | Magento’s own switch Catalog › Layered Navigation › Display Category Filter must be Yes as well. | Yes | Global, Website, Store View |
| Filter title | Category | Global, Website, Store View | |
| Position | -1 = first. | -1 | Global, Website, Store View |
| Allow multiselect | Yes | Global, Website, Store View | |
| Show | Children of the current category (Magento’s behaviour), the whole tree from the root, or the tree from the current category’s level. Values: Children of the current category, Tree from the current category’s level, Whole tree from the root category |
Children of the current category | Global, Website, Store View |
| Tree depth | Levels below the starting point. 1 = flat list. | 2 | Global, Website, Store View |
| Unfolded levels | Deeper levels open on click; the branch of the current category is always open. 0 = only the first level. | 0 | Global, Website, Store View |
| Show product counts | Values: Default (Magento setting), Yes, No | Default (Magento setting) | Global, Website, Store View |
| Exclude categories | Comma separated category IDs that never appear in the filter (their children neither). | – | Global, Website, Store View |
| Subcategories view | Folding: deeper levels open below their parent. Fly-out: on desktop they open beside the parent on hover or focus; phones fold. Values: Folding, Fly-out (desktop) |
Folding | Global, Website, Store View |
| Tree display mode | Images come from the category image (Catalog › Categories › Content). Categories without an image show their name. Values: Names only, Images only, Images and names |
Names only | Global, Website, Store View |
| Image width in the tree (px) | 40 | Global, Website, Store View |
Children categories block (children_block)
The subcategories of the current category above the product list, as names or as thumbnails, optionally as a slider.
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Enabled | No | Global, Website, Store View | |
| Title | Optional heading above the block. | – | Global, Website, Store View |
| Display mode | Values: Thumbnails, Names only | Thumbnails | Global, Website, Store View |
| Thumbnail width (px) | The category image is scaled to this width; categories without an image get a text tile. | 160 | Global, Website, Store View |
| Show names under the thumbnails | Yes | Global, Website, Store View | |
| Show as slider | Otherwise a wrapping row of tiles. | Yes | Global, Website, Store View |
| Items per slide (desktop) | 5 | Global, Website, Store View | |
| Endless loop | After the last slide the first one follows. | No | Global, Website, Store View |
| Categories | All categories, only the listed ones, or all except the listed ones. Values: All categories, Only the listed categories, All except the listed categories |
All categories | Global, Website, Store View |
| Category IDs | Comma separated. | – | Global, Website, Store View |
Extra filters (extra)
Availability, new, on sale, discount and rating are read from the search index. After switching one on, run bin/magento indexer:reindex catalogsearch_fulltext once.
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Show product counts | Each count is one small search request; switch off on very busy stores. | Yes | Global, Website, Store View |
| Availability filter | No | Global, Website, Store View | |
| Availability: title | Availability | Global, Website, Store View | |
| Availability: position | 900 | Global, Website, Store View | |
| New filter | Products whose „Set Product as New From/To“ dates include today. | No | Global, Website, Store View |
| New: title | New | Global, Website, Store View | |
| New: position | 910 | Global, Website, Store View | |
| On sale filter | Products whose final price (special price or catalog price rule) is below the regular price. | No | Global, Website, Store View |
| On sale: title | On sale | Global, Website, Store View | |
| On sale: position | 920 | Global, Website, Store View | |
| Discount filter | „10 % and more“, „25 % and more“ … from the difference between regular and final price. | No | Global, Website, Store View |
| Discount: title | Discount | Global, Website, Store View | |
| Discount: steps in percent | Comma separated, e.g. 10,25,50. | 10,25,50 | Global, Website, Store View |
| Discount: position | 930 | Global, Website, Store View | |
| Rating filter | „4 stars and up“ … from the approved review summary. | No | Global, Website, Store View |
| Rating: title | Rating | Global, Website, Store View | |
| Delivery time filter | „Ready to ship“, „Within 3 days“ … Days per product: in-stock products get the in-stock days (or the value of the attribute below), products with backorders the backorder days, other out-of-stock products the out-of-stock days (-1 = never deliverable, excluded). Reindex catalogsearch_fulltext after changes. | No | Global, Website, Store View |
| Delivery time: title | Delivery time | Global, Website, Store View | |
| Delivery time: position | 950 | Global, Website, Store View | |
| Delivery time: options (days) | Comma separated, e.g. 1,3,7,14. 1 is shown as „Ready to ship“. | 1,3,7,14 | Global, Website, Store View |
| Delivery time: product attribute with days | Optional. Code of a text, number or select attribute whose value (or option label) starts with the number of days, e.g. „3“ or „3-5 days“. Used for in-stock products instead of the in-stock days. | – | Global, Website, Store View |
| Delivery time: days for in-stock products | 1 | Global, Website, Store View | |
| Delivery time: days for backorders | 14 | Global, Website, Store View | |
| Delivery time: days for out-of-stock products | -1 = such products match no delivery option. | -1 | Global, Website, Store View |
| Rating: position | 940 | Global, Website, Store View |
Load more and infinite scroll (load_more)
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Mode | Button = a „Load more“ button under the list; Infinite = the next page loads when the list end comes into view (a button remains for keyboards and screen readers). The pagination stays in the markup for search engines. Values: Pagination only, Load more button, Infinite scroll |
Pagination only | Global, Website, Store View |
| Button label | Load more | Global, Website, Store View |
Chapter 02 · SEO and crawling
SEO (seo)
| Field | Meaning | Default | Scope |
|---|---|---|---|
| SEO-friendly filter URLs | category/blue-black/cotton.html instead of category.html?color=50,49&material=33. Price and decimal filters stay in the query string. Every option gets a URL alias from its label (umlauts transliterated); change an alias on the attribute option. | No | Global, Website, Store View |
| Include the attribute alias in the URL | category/color-blue-black/material-cotton.html. Safer for stores whose options share names across attributes. | No | Global, Website, Store View |
| Filter key | Optional segment before the filters, e.g. „filter“ gives category/filter/blue.html. Lets you block all filtered pages in robots.txt with Disallow: */filter/*. | – | Global, Website, Store View |
| Separator between the values of one filter | Default „-„. Values of different filters are always separated by „/“. | – | Global, Website, Store View |
| 301 redirect from parameter URLs to the SEO URL | category.html?color=50 answers with 301 to category/blue.html, so old links and indexed URLs move over. | Yes | Global, Website, Store View |
| Let the module set the robots meta tag on filtered pages | No = keep this for another SEO extension. | Yes | Global, Website, Store View |
| NOINDEX from this number of applied filters | 1 = every filtered page, 2 = pages with two or more filters. Filters marked „do not index“ in their attribute settings count from one. | 2 | Global, Website, Store View |
| NOINDEX when a filter has several values | Multi-value pages such as colour red + blue rarely deserve a place in the index. | Yes | Global, Website, Store View |
| Add rel=“nofollow“ to filter links that lead to NOINDEX pages | Yes | Global, Website, Store View |
Canonical URL and pagination (canonical)
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Canonical of filtered category pages | Needs Catalog › Search Engine Optimization › Use Canonical Link Meta Tag For Categories = Yes to replace Magento’s tag; otherwise the module adds its own. Values: Keep the current URL (filters and page number), Category URL without filters, Category URL with the first filter only, Current URL without query parameters, Leave it to Magento |
Keep the current URL (filters and page number) | Global, Website, Store View |
| Canonical of brand pages | Values: Keep the current URL, Brand page without filters, No canonical tag | Keep the current URL | Global, Website, Store View |
| Add the canonical tag to NOINDEX pages as well | Yes | Global, Website, Store View | |
| rel=“prev“ / rel=“next“ on paginated pages | Yes | Global, Website, Store View | |
| Page number in the meta title | „Tops | Page 3“ | Yes | Global, Website, Store View |
| Page number in the meta description | No | Global, Website, Store View |
Texts of filter options (option_content)
Title, description, image, CMS block and meta data stored on an option (Content › STM Layered Navigation › Option pages & brands) are merged into the category page when that option is applied.
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Add the option title to the page heading | Values: Do not add, Before the category text, After the category text, Replace the category text | After the category text | Global, Website, Store View |
| Separator between category name and option title | – | Global, Website, Store View | |
| Add the option description | Values: Do not add, Before the category text, After the category text, Replace the category text | After the category text | Global, Website, Store View |
| Add the option meta title | Values: Do not add, Before the category text, After the category text, Replace the category text | After the category text | Global, Website, Store View |
| Meta title separator | – | Global, Website, Store View | |
| Add the option meta description | Values: Do not add, Before the category text, After the category text, Replace the category text | Do not add | Global, Website, Store View |
| Replace the category image with the option image | Yes | Global, Website, Store View | |
| Replace the category CMS block with the option block | Yes | Global, Website, Store View |
Crawl shield (crawl_shield)
Protects the page cache and the server from crawlers that walk through every filter combination. Human visitors are never affected.
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Enable crawl shield | Yes | Global, Website, Store View | |
| Filters a listed crawler may combine | Requests with more applied filters than this get the answer below. 0 = no filtered page at all. | 1 | Global, Website, Store View |
| Answer for blocked requests | 410 Gone tells search engines to drop the URL, 403 only refuses it. Values: 410 Gone (drop the URL from the index), 404 Not Found, 403 Forbidden |
410 Gone (drop the URL from the index) | Global, Website, Store View |
| Crawler user agents | Comma separated, case-insensitive substrings. Googlebot and Bingbot are deliberately not listed: they follow the robots meta tag. | GPTBot,ClaudeBot,Claude-Web,meta-externalagent,facebookexternalhit,Bytespider,PetalBot,AhrefsBot,SemrushBot,MJ12bot,DotBot,DataForSeoBot,Amazonbot,YandexBot,CCBot,PerplexityBot,Applebot-Extended | Global, Website, Store View |
Sitemap and hreflang (sitemap)
Adds the module’s pages to Magento’s XML sitemap (Marketing › SEO & Search › Site Map).
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Brand pages in the sitemap | Yes | Global, Website, Store View | |
| Landing pages in the sitemap | Only active pages with INDEX robots. | Yes | Global, Website, Store View |
| All products page in the sitemap | Yes | Global, Website, Store View | |
| Frequency | weekly | Global, Website, Store View | |
| Priority | 0.5 | Global, Website, Store View | |
| hreflang links on brand and landing pages | One link per store view of the website that shares the page; uses the store view’s locale. | No | Global, Website, Store View |
Chapter 03 · Brands and pages
Brands (brands)
Brand pages (/brand/nike.html), the all brands page, logo and description on product pages. Logos, descriptions and meta data live on the options: Content › STM Layered Navigation › Option pages & brands.
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Enable brand pages | No | Global, Website, Store View | |
| Brand attribute | Any dropdown attribute; may differ per store view (Shop by Team, Shop by Author …). | manufacturer | Global, Website, Store View |
| URL key of brand pages | „brand“ gives /brand/nike.html; empty path is not allowed. | brand | Global, Website, Store View |
| URL key of the all brands page | „brands“ gives /brands.html. | brands | Global, Website, Store View |
| Label for menu, breadcrumbs and the all brands page | Brands | Global, Website, Store View | |
| Base category of brand pages | Category ID whose products and filters a brand page uses. Empty = the store’s root category (all products). | – | Global, Website, Store View |
| Brands link in the top menu | Values: No, Display first, Display last | No | Global, Website, Store View |
| Show brand logo on product pages | Yes | Global, Website, Store View | |
| Show clickable brand title on product pages | Yes | Global, Website, Store View | |
| Show brand short description on product pages | Yes | Global, Website, Store View | |
| Logo width on product pages (px) | 120 | Global, Website, Store View | |
| Logo height on product pages (px) | 60 | Global, Website, Store View | |
| Show brand logo in product listings | The brand attribute needs „Used in Product Listing“ = Yes. | No | Global, Website, Store View |
| „More from this brand“ block on product pages | Yes | Global, Website, Store View | |
| Products in that block | 4 | Global, Website, Store View | |
| Title of that block | {brand} is replaced by the brand name. | More from {brand} | Global, Website, Store View |
| All brands page: columns | 4 | Global, Website, Store View | |
| All brands page: logo width (px) | 140 | Global, Website, Store View | |
| All brands page: search box | Yes | Global, Website, Store View | |
| All brands page: filter by first letter | Yes | Global, Website, Store View | |
| All brands page: product counts | Yes | Global, Website, Store View | |
| All brands page: hide brands without products | Yes | Global, Website, Store View | |
| Brands dropdown in the top menu | Hovering the Brands link opens the alphabetical brand list. | Yes | Global, Website, Store View |
| Logos in the dropdown | No | Global, Website, Store View | |
| Schema.org Brand on brand pages | JSON-LD with name, logo, description and URL. | Yes | Global, Website, Store View |
| Schema.org Product with brand on product pages | Adds the brand to the Product microdata of the theme, no second Product is written. Without Product microdata in the theme it has no effect. | No | Global, Website, Store View |
Landing pages (pages)
Content › STM Layered Navigation › Landing pages: own URL, title, text, meta and robots for a category plus a filter combination. The page’s texts also apply when a shopper reaches the same combination through the filters.
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Strict matching | Yes = the page’s texts apply only when exactly its filters are applied; No = also with additional filters. | No | Global, Website, Store View |
| Use the category description when the page has none | Yes | Global, Website, Store View |
All products page (all_products)
One page with every product of the store and the complete filter set.
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Enabled | No | Global, Website, Store View | |
| URL key | „all-products“ gives /all-products.html. | all-products | Global, Website, Store View |
| Title | All products | Global, Website, Store View | |
| Description (HTML) | – | Global, Website, Store View | |
| Robots | INDEX,FOLLOW | Global, Website, Store View |
Chapter 04 · Customers and analytics
Customers and B2B (customer)
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Let logged-in customers save filter sets | „Save this selection“ in the filter block; the sets live under My Account › Saved filters and can be shared as links. | Yes | Global, Website, Store View |
| Default filters per customer group | One line per group: group ID, colon, filters as code=value separated by semicolons. Example: 2:stm_stock=1;material=33 — applied on category pages until the shopper removes them (0 = guests). | – | Global, Website, Store View |
Filter analytics (analytics)
Records which filters and values shoppers apply, zero-result combinations and the most used combinations (Content › STM Layered Navigation › Analytics). No personal data is stored.
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Record filter usage | Yes | Global, Website, Store View | |
| Keep records (days) | Older rows are removed nightly. 0 = keep everything. | 90 | Global |
| Record requests of known crawlers as well | No | Global, Website, Store View |
Chapter 05 · Extras
AI texts (ai)
Generates page title, description, short description and meta data for brands, filter options and landing pages on request: button in the edit forms, bin/magento stm:ln:ai:brands for all brands. The texts are suggestions; nothing is published without an admin saving it.
| Field | Meaning | Default | Scope |
|---|---|---|---|
| Enabled | No | Global, Website, Store View | |
| Provider | Anthropic calls the Claude Messages API; „OpenAI-compatible“ posts to {endpoint}/chat/completions with a bearer token (OpenAI, Azure-style gateways, local servers). Values: Anthropic (Claude), OpenAI-compatible endpoint |
Anthropic (Claude) | Global, Website, Store View |
| API key | – | Global, Website, Store View | |
| Model | Anthropic: claude-opus-5-5 (default), claude-sonnet-5-5 or claude-haiku-5-5. OpenAI-compatible: the model name of that service. | claude-opus-5-5 | Global, Website, Store View |
| Endpoint | Empty = https://api.anthropic.com or https://api.openai.com/v1. For a gateway or a local server enter its base URL. | – | Global, Website, Store View |
| Language | Empty = the locale of the store view (de_DE writes German). Enter e.g. „British English“ or „Deutsch, Sie-Form“ to override. | – | Global, Website, Store View |
| Style instructions | Tone of voice, facts to mention, words to avoid. Added to every request. | – | Global, Website, Store View |
| Description length (words) | 120 | Global, Website, Store View | |
| Send product names as context | Up to ten product names of the brand, option or selection travel to the provider so the text names real products. Switch off when product names must stay in house. | Yes | Global, Website, Store View |
2. Settings per attribute
Stores › Attributes › Product › open attribute › tab “STM Layered Navigation”
| Field | Meaning |
|---|---|
| Display mode | Ranges = Magento price intervals as links. Slider = two handles with a histogram of the result. From-to only = two input fields. Images and text swatches use the swatch data of the attribute. |
| Show in block | |
| Position | Order among the filters. Empty = the attribute position from Storefront Properties. |
| Sort options by | |
| Show product counts | |
| Show search box | |
| Search box from this number of options | |
| Number of unfolded options | Further options sit behind „Show more“. 0 = show all. |
| Expand on page load | |
| Allow multiselect | Not available for price and decimal attributes. |
| Multiple values logic | „All values“ is meaningful for multiselect attributes such as features or materials. |
| Add from-to widget | Two input fields below the slider or the ranges. |
| Minimum slider value | Empty = lowest value of the current result. |
| Maximum slider value | Empty = highest value of the current result. Products above the maximum are still shown while the slider is untouched. |
| Slider step | Empty = one hundredth of the span, rounded. |
| Unit label | Empty = store currency for the price, nothing for other attributes. Example: cm, kg. |
| Hide zero decimals | 50 instead of 50.00. |
| Visible in categories | Comma separated category IDs; the filter shows in these categories and their children. Empty = everywhere. |
| Show only when one of these filters is applied | Dependent filter: stays hidden until the shopper has chosen a value of one of the selected attributes. |
| Show only when one of these options is applied | Comma separated option IDs of other attributes (Stores › Attributes › Product › Manage Options shows them on hover). |
| Generate SEO URL | category/cotton.html instead of category.html?material=46. Needs „SEO-friendly filter URLs“ in the configuration. |
| Allow search engines to INDEX pages with this filter | |
| Allow search engines to FOLLOW links on pages with this filter | |
| Attribute URL alias | Empty = attribute code. |
3. Menu Content › STM Layered Navigation
| Field | ACL |
|---|---|
| STM Layered Navigation | STM_LayeredNavigation::main |
| Filter overview | STM_LayeredNavigation::overview |
| Option pages & brands | STM_LayeredNavigation::options |
| Option groups | STM_LayeredNavigation::groups |
| Landing pages | STM_LayeredNavigation::pages |
| Analytics | STM_LayeredNavigation::analytics |
| Quick setup & transfer | STM_LayeredNavigation::transfer |
| Settings | STM_LayeredNavigation::config |
4. Command line
bin/magento stm:ln:status |
Settings, filterable attributes with their settings, ambiguous aliases |
bin/magento stm:ln:vcl |
Prints the VCL snippets for Varnish and Fastly (docs/vcl/) |
bin/magento stm:ln:ai:brands [--store=0] [--missing-only] [--dry-run] [--overwrite] [--limit=N] [--brand=ID] |
AI texts for all brands; without –dry-run the texts are saved |
Support
Questions about the extension are answered through the support link on its Marketplace listing. For pre-sales questions and custom requirements, get in touch.
















{% endif %}
{% if title and title != "" %}
{{ title }}
{% endif %}
{% if excerpt and excerpt != "" %}