Product Stream Sorting
Product sorting for dynamic product groups: bestsellers, well-rated items and new arrivals move to the top, sold-out items to the end. In categories, sliders and cross-selling.
On this page
- Introduction
- What you achieve with this plugin
- Who is this plugin for?
- Installation
- Getting started
- Basic plugin settings
- General
- Calculation
- Diagnostics
- How to set up the sorting of a product group
- How to open the “Sorting” tab
- How to define where and when the sorting applies
- How to choose the sorting criteria
- How to handle sold-out products and boost products
- How to pin products to fixed positions
- How to check the result in the live preview
- How to sort differently in individual sales channels
- How to check the calculation status and recalculate
- How your customers see the sorting
- In categories
- Setting Recommended as the default sorting
- In product sliders and cross-selling
- How to grant permissions to your team
- Troubleshooting
- The “Sorting” tab is missing
- The category does not show my order
- Note “Background processing (message queue worker) is not running”
- Note “The calculation has been outdated for more than … minutes”
- A new product does not appear in the category immediately
- ”Too many criteria …” appears when saving
- The preview reports that it did not finish within 5 minutes
- The plugin does not appear or changes have no effect
- All settings
- General
- Calculation
- Diagnostics
- FAQ
- For administrators / technical details
- System requirements
- Background processing (required)
- Installation via the command line
- Console commands
- Known limitations
- Uninstallation
Introduction
Product Stream Sorting helps you show the products of a dynamic product group in exactly the order that sells best — for example bestsellers with good reviews first, new arrivals a little further up and sold-out items at the end.
What you achieve with this plugin
- You decide for each dynamic product group which criteria the order is based on: sales, price, rating, stock, discount, release date and more.
- You combine several criteria — either as a ranking (“sales first, price when tied”) or weighted (“70 % sales, 30 % rating”).
- You automatically move sold-out products to the end or hide them.
- You give new products or products with high stock a targeted boost.
- You pin individual products to fixed positions, optionally for a limited period only.
- The sorting applies in category listings, in product sliders of your shopping experiences and in cross-selling.
- You can sort differently per sales channel without maintaining everything twice.
- A live preview shows you the resulting order before you save — and explains for every product why it is in its position.
Who is this plugin for?
For shop owners and editors who fill categories or product sliders with dynamic product groups and do not want to leave the order of the products to chance or to a single default sorting.
Installation
After purchase, the plugin is available directly in your Administration — there is nothing to download.
- Log in to your Shopware Administration (
yourshop.com/admin). - Open Extensions → My extensions.
- Click Install next to Product Stream Sorting.
- Activate the plugin using the switch next to the entry — done.
Fig. 1: The plugin in the “My extensions” list — the blue switch shows that it is active.
If Product Stream Sorting does not appear in the list, your Shopware account is not yet connected to the shop. You can do this under Extensions → My extensions by logging in with your Shopware account.
Important: The plugin calculates the order in the background. This requires scheduled tasks and background processing to run regularly on your server. Pass the section For administrators / technical details on to the person who looks after your server.
During installation, the plugin creates a new sorting option named Recommended. It appears in the sorting selection of your categories (see chapter 6).
Getting started
Five steps to your first sorted product group:
- Enable the plugin for your sales channel: Under Extensions → My extensions, click Configure next to the plugin and check that Enable plugin for this sales channel is switched on. It is on by default.
- Open the product group: Go to Products → Dynamic product groups and open the group you want to sort. Switch to the Sorting tab at the top.
- Define criteria: In the Sorting criteria card, use Add criterion to define what the order is based on — for example Sales, Descending.
- Check the preview and save: In the Live preview card, click Refresh preview. If the order looks right, click Save at the top. The calculation then starts automatically.
- See the result in the shop: Open a category in your shop whose products come from this dynamic product group and select Recommended in the sorting selection. To show this order to your customers straight away, set Recommended as the default sorting (see How your customers see the sorting).
Basic plugin settings
You reach the basic settings under Extensions → My extensions via the Configure link next to the plugin. Here you decide whether the plugin works in a sales channel and set default values. These default values apply to every product group that does not define its own value.
Fig. 2: The plugin configuration.
At the very top, under Sales channel, you choose which shop the settings apply to. With All Sales Channels you set the values for all shops; if you select a single sales channel, you can set individual values differently for that shop only.
The Open documentation button takes you to this manual at any time.
General
Enable plugin for this sales channel
This switch determines whether the plugin works in the selected sales channel. It is on by default. If you switch it off, category listings, product sliders and cross-selling in this sales channel show the standard Shopware sorting again.
Why this is useful: If you run several shops, for example one for consumers and one for resellers, you use the plugin only where you need it.
Sold-out products (default)
Here you define what happens to products without available stock — unless the product group specifies otherwise. The options are:
- Move to the end (preset): sold-out products are placed behind all available products.
- Hide: sold-out products are not shown.
- Sort normally: sold-out products are sorted like all others.
Why this is useful: Your customers first see what they can actually buy.
Variant evaluation (default)
This setting defines how products with variants (for example sizes or colours) are evaluated:
- Main product (aggregated) (preset): sales and stock of all variants are added up, the lowest price counts. A T-shirt that sells well across all sizes therefore ends up near the top.
- Single variant: each variant is evaluated on its own.
Why this is useful: If your shop shows variants combined as one product, Main product (aggregated) usually fits best. If it shows every variant separately, choose Single variant.
Customers may choose another sorting (default)
If this switch is on (preset), your customers can choose a different order in categories using the sorting selection, for example by price. If you switch it off, categories with a configured sorting always show the Recommended order — the sorting selection then offers only this option.
Why this is useful: If you want to run a category like a curated shop window, switch the choice off.
Calculation
Maximum age of time-dependent sortings (minutes)
Some sortings change over time without anyone editing anything: sales of the last 30 days, the novelty boost or a random order. Such sortings are recalculated at the latest after the time entered here. The preset is 60 minutes; 15 to 1440 minutes are possible.
Why this is useful: A smaller value keeps the order more up to date, a larger one reduces the load on your server.
Sales period (default)
Defines which period counts for the Sales criterion: Last 7 days, Last 30 days (preset), Last 90 days, Last 365 days or All time. You can choose a different period in each product group. Cancelled orders are not counted.
Why this is useful: A short period brings current trends to the top, a long period shows your long-term bestsellers.
Sales basis (default)
Defines whether only sales from This sales channel (preset) count or sales from All sales channels combined.
Why this is useful: If a shop is still new and has few orders, the sales of all shops give a more meaningful picture.
Fallback when calculation is stalled (minutes)
If background processing stops running on your server, the plugin cannot update the order. If no calculation has run within the time entered here, listings show the standard sorting by the first criterion instead of the outdated order. The preset is 30 minutes; 10 to 1440 minutes are possible.
Why this is useful: Your shop never shows an outdated order for a long time without anyone noticing.
Diagnostics
Store position explanations
Permanently stores for every product why it is in its position. Your administrator can retrieve these explanations via the command line. The option increases the size of the database and is therefore switched off by default. Only switch it on if you want to analyse a sorting in detail.
You do not need this option for everyday work: the explanation in the live preview (section 5.6) works without it.
After every change, click Save at the top right.
How to set up the sorting of a product group
How to open the “Sorting” tab
What this gives you: In one place, you set everything that determines the order of a dynamic product group.
- Go to Products → Dynamic product groups.
- Open the product group you want.
- At the top, switch from the General tab to the Sorting tab.
The tab only appears for product groups that have already been saved. If you create a new group, save it once first.
Everything you change in the Sorting tab is saved as usual with Save at the top — together with the product group.
Fig. 3: The “Sorting” tab of a dynamic product group.
How to define where and when the sorting applies
What this gives you: You decide whether the sorting applies in categories, in sliders or in cross-selling — and, if you like, only for certain customers.
You find the settings in the General card:
- Sorting active: switches the sorting for this product group on or off. When it is off, the group shows the standard Shopware sorting.
- Customers may re-sort: when the switch is on, your customers’ choice applies if they select something other than Recommended in the sorting selection. When it is off, your order always applies in categories.
- Where to apply: with the Apply sorting here checkbox you define for each location where the sorting applies:
- Category listing — categories whose product assignment is this dynamic product group.
- Product slider — product sliders in shopping experiences that use this dynamic product group.
- Cross-selling — cross-selling of the type “Dynamic product group”.
- Sorting mode: defines how several criteria work together (see section 5.3):
- Levels — the second criterion only decides when the first one is tied.
- Weighted — all criteria contribute to one total value according to their weight.
- Variant evaluation: as described in the basic settings, here for this product group only — Main product (aggregated) or Single variant.
- Only apply for rule: optionally, choose a rule from the Rule Builder here. The sorting then only applies when this rule matches, for example only for logged-in resellers. If No rule – always apply is shown, it always applies.
Tip: With a rule, the same category can show two faces: resellers see your sorting by stock, all other customers see the standard order.
How to choose the sorting criteria
What this gives you: You decide which products are at the top — based on the figures that matter to your business.
Fig. 4: Two weighted criteria — Sales with a share of 70 %, Rating with a share of 30 %.
Step by step
- In the Sorting criteria card, click Add criterion.
- Under Criterion, choose what to sort by.
- Under Direction, choose Ascending or Descending. For sales, Descending means: most sales first.
- In Weighted mode, also enter a Weight from 0 to 100. 0 means no influence, 100 the strongest influence. Next to the heading of each criterion you see the resulting Share in percent.
- Add further criteria if needed.
- Click Save at the top.
You change the order of the criteria by dragging them by the handle to the left of the heading or by using the arrow buttons at the top right. The red bin removes a criterion.
Levels or weighted?
- In Levels mode, the entries are called Level 1, Level 2 and so on. The top criterion decides first. You can add at most 3 criteria. Example: Level 1 Sales, Level 2 Price — products with the same number of sales are ordered by price.
- In Weighted mode, the entries are called Criterion 1, Criterion 2 and so on. All criteria count at the same time. You can add at most 8 criteria. Example: Sales with weight 70 and Rating with weight 30 — a product with very good reviews can end up near the top even with somewhat fewer sales.
The criteria at a glance
- Name and Product number — alphabetical.
- Price — with the additional setting Price basis: Gross or Net.
- Release date and Creation date — newest or oldest products first.
- Stock — with the additional setting Scaling (see below).
- Sales — with the additional settings Period (for example Last 30 days), Count sales from (this sales channel or all sales channels) and Scaling.
- Rating — the average customer rating, with the additional setting Minimum number of reviews. Products with fewer reviews are treated as if they had no rating. This prevents a product with a single five-star review from jumping to the top.
- Discount — how much a product is reduced compared with its list price.
- Manufacturer — alphabetical by manufacturer name.
- Custom field — one of your own product custom fields. Select it under Custom field. Only sortable custom fields are offered (number, date, text, selection, switch).
- Random — a random order, without direction. Under Random sequence, choose New every day (the order stays the same for one day) or New per calculation (a new order on every calculation).
Scaling for sales and stock
Logarithmic (preset) dampens outliers: a bestseller with 1,000 sales pushes products with 50 sales aside less strongly. With Linear, every sale counts equally.
Important: Criteria that sort by text (name, product number, manufacturer, custom fields of type text or selection) follow the default language of the sales channel. In other languages of the same sales channel, this order stays the same.
How to handle sold-out products and boost products
What this gives you: You control special cases without rebuilding your criteria — sold-out items, new arrivals and surplus stock.
Fig. 5: The “Rules” card — here with the novelty boost switched on.
You find the settings in the Rules card:
Sold-out products
As in the basic settings: Move to the end, Hide or Sort normally — here for this product group only.
Novelty boost
Boosts products whose release date (or, if none is maintained, whose creation date) is younger than the given number of days.
- Switch on Boost active.
- Under Younger than (days), enter how long a product counts as new (1 to 3650 days).
- Under Factor, enter how strongly it is boosted (0.1 to 10). A factor of 1.5 means 50 % more.
Clearance boost
Boosts products of which you have a lot in stock.
- Switch on Boost active.
- Under Stock greater than, enter the threshold above which a product is boosted.
- Under Factor, enter how strongly it is boosted.
Tip: The clearance boost works well for seasonal goods: whatever is still plentiful in stock moves further up.
How to pin products to fixed positions
What this gives you: A promotional product or a new arrival is exactly where you want it — regardless of the criteria and, if you like, only for the duration of a campaign.
Fig. 6: A product pinned to position 1 without a time limit.
Step by step
- In the Pinned products card, click into the Pin product field and search for the product. Only products from this dynamic product group are offered.
- Under Position, enter the desired place. 1 is the first place. If the list is shorter, the product is placed at the end.
- Optional: use Valid from and Valid until to define when the pin applies. If Unlimited is shown, it applies without a time limit. The times are given in UTC.
- Click Save at the top.
If several pinned products share the same position, their order in the list decides. You change it by dragging the handle or with the arrow buttons. The red bin removes a pin.
Important: The position applies to the complete, unfiltered product group. If a customer filters the category, for example by price, the place of the pinned product results from the order of the remaining products.
Note: When a pin starts or ends, the shop picks this up with a short delay of a few minutes.
How to check the result in the live preview
What this gives you: You immediately see how your settings will work — before you save and without your customers noticing.
Fig. 7: The live preview shows the future order with score and notes.
Step by step
- In the Live preview card, under Preview for sales channel, choose the shop whose order you want to see. Without a selection, the First active sales channel is used.
- Click Refresh preview.
- The table shows the first 24 products with the current, not yet saved settings: Pos., Image, Name, Product number, the calculated Score and, under Notes, the labels Pinned or Sold out.
For large product groups, the plugin calculates the preview in the background. You then see the note “Large product stream – the preview is being calculated in the background …”. Wait a moment; the table appears by itself.
Why is a product in this position?
In the row of a product, click the three dots on the right and choose Show explanation. The dialog Why is ”…” here? opens.
Fig. 8: The explanation shows how much each criterion contributed to the position.
Among other things, the dialog shows the Base value (0–100), the Final value after boosts, whether the product is Pinned or Sold out, and a table with the Raw value, the Normalised (0–100) value, the Weight and the Contribution for each criterion. Under Applied boosts you see whether a novelty or clearance boost took effect.
Tip: If a position surprises you, look at the raw value. Often an unexpected stock level or a missing rating is behind it.
How to sort differently in individual sales channels
What this gives you: Your reseller shop sorts by stock, for example, and your consumer shop by sales — with the same product group and without setting everything up twice.
- In the Scope and status card, choose the shop under Sales channel. With All Sales Channels you edit the sorting that applies everywhere.
- In a single sales channel, all fields initially take their value from “All sales channels”. You recognise this by the link icon next to the field.
- Click the link icon to change a field for this sales channel only. Clicking again restores the inherited value.
- For pinned products, the switch Use pinned products from “All sales channels” defines whether the pins set for all channels also apply here. If you switch it off, only the products pinned here apply.
- Click Save at the top.
Tip: Maintain as much as possible under “All sales channels” and only change in a single shop what really needs to be different there. Later changes then only have to be made once.
How to check the calculation status and recalculate
What this gives you: You always know whether the order in your shop is up to date.
In the Scope and status card, below the sales channel selection, you see the line Last calculation: … with date, time and the number of calculated products.
When is the order recalculated?
- After you Save the sorting, the calculation starts immediately by itself.
- When products change (for example price or stock) or new orders come in, the plugin recalculates automatically after about one minute. With the HTTP cache active, it can take up to 5 minutes until the new order is visible in the storefront: Shopware clears the affected pages from the cache in batches every 5 minutes.
- Time-dependent sortings (sales period, novelty boost, random) are recalculated at the latest after the maximum age entered in the basic settings.
Recalculate immediately: click Recalculate now. The button only becomes active once the sorting has been saved.
Notes in the status area
Depending on the situation, the plugin shows a note here:
- “No sorting has been saved for this product stream yet. …” — define criteria and save.
- “The sorting has not been calculated yet. …” — click Recalculate now or wait for the next run.
- “The plugin is disabled in this sales channel. …” — switch on Enable plugin for this sales channel in the basic settings.
- “Background processing (message queue worker) is not running. …” — see Troubleshooting.
- “The calculation has been outdated for more than … minutes. …” — see Troubleshooting.
- “The last calculation failed: …” — the text names the reason; pass it on to your administrator.
How your customers see the sorting
What this gives you: Your customers find the products you want to show them right at the top — in categories, in sliders and in cross-selling.
Fig. 9: A category in the shop with the “Recommended” sorting.
Fig. 10: The same category on a smartphone.
In categories
In categories whose products come from a dynamic product group, your order appears under the name Recommended in the sorting selection.
- Customers may re-sort is on: your order applies as long as Recommended is selected. If a customer chooses, for example, a sorting by price, their choice applies.
- Customers may re-sort is off: the category always shows your order. The sorting selection offers only Recommended.
Setting Recommended as the default sorting
So that your customers see your order as soon as they open a category, set Recommended as the default sorting:
- Open Settings and then the Products entry.
- Under Default sorting, choose Recommended.
- Click Save.
Important: If Customers may re-sort is on and a different default sorting is selected, your customers only see your order once they select Recommended themselves.
You can change the name Recommended in the same place in the Sorting options card if you prefer a different label.
In product sliders and cross-selling
Product sliders in shopping experiences and cross-selling of the type “Dynamic product group” show your order automatically as soon as the respective location is enabled in the product group. Customers have no sorting selection here.
How to grant permissions to your team
What this gives you: Team members can view the sorting without accidentally changing anything — or you hand over its maintenance to your marketing team.
You grant permissions as usual under Settings → Users & permissions in the respective role. There you find the entry Product stream sorting with two levels:
- View: the Sorting tab is visible, all fields are locked. The live preview including the explanation works. Saving and Recalculate now are not possible.
- Edit: the sorting, the rules and the pinned products can be changed and recalculated. This level requires that the role may also edit dynamic product groups — saving is done with the Save button of the product group.
Troubleshooting
The “Sorting” tab is missing
Cause: The product group has not been saved yet, or your user role lacks the permission to view it.
Solution:
- Save a newly created product group once and open it again.
- Under Settings → Users & permissions, check that your role has at least View for Product stream sorting.
- Under Extensions → My extensions, check that the plugin is active.
The category does not show my order
Cause: Usually a sorting other than Recommended is selected in the category, or a location is not enabled.
Solution:
- Select Recommended in the category in your shop or set Recommended as the default sorting (chapter 6).
- In the Sorting tab, check that Sorting active is on and that Apply sorting here is ticked for Category listing.
- Check that the category really takes its products from this dynamic product group.
- In the basic settings, check that Enable plugin for this sales channel is on for this shop.
- If you have selected a rule under Only apply for rule, the sorting only applies to customers who match this rule.
Note “Background processing (message queue worker) is not running”
Cause: Scheduled tasks or background processing are not running on your server. Until they run again, your shop shows the standard Shopware sorting — it remains fully functional.
Solution: Give your administrator the section For administrators / technical details. It lists which tasks have to run regularly.
Note “The calculation has been outdated for more than … minutes”
Cause: No calculation has run within the configured time (basic setting Fallback when calculation is stalled (minutes)). The shop temporarily sorts by the first criterion.
Solution: Click Recalculate now. If the note comes back, ask your administrator to check background processing.
A new product does not appear in the category immediately
Cause: When a product is newly added to a sorted product group, it is included in the order after about one minute. Until then, it is not yet visible in this category.
Solution: Wait about one minute and reload the page. With the HTTP cache active, it can take up to 5 minutes. If the product is still missing, check that background processing is running (see above).
”Too many criteria …” appears when saving
Cause: Levels mode allows at most 3 criteria, Weighted mode at most 8.
Solution: Remove criteria or change the Sorting mode.
The preview reports that it did not finish within 5 minutes
Cause: Large product groups are calculated in the background, and background processing is not running.
Solution: Ask your administrator to check background processing, then click Refresh preview again.
The plugin does not appear or changes have no effect
Cause: The plugin has probably not been activated yet, or the cache is outdated.
Solution:
- Open Extensions → My extensions.
- Check that the switch next to the plugin is on.
- Clear the cache: Settings → System → Caches & indexes → Clear cache.
All settings
Every setting in the plugin configuration with its default value, in the order shown in the Administration. As of version 6.7.0.
General
| Setting | Default | Description |
|---|---|---|
| Enable plugin for this sales channel | on | When disabled, listings, sliders and cross-selling of this sales channel use the standard Shopware sorting. |
| Sold-out products (default) | Move to the end | Used when a dynamic product group sorting does not define its own rule. |
| Variant evaluation (default) | Main product (aggregated) | Main product: sales and stock of all variants are summed, the lowest price counts. Single variant: each variant is evaluated on its own. |
| Customers may choose another sorting (default) | on | When disabled, category listings of configured dynamic product groups always use the “Recommended” sorting. |
Calculation
| Setting | Default | Description |
|---|---|---|
| Maximum age of time-dependent sortings (minutes) | 60 | Sortings using sales periods, novelty boosts or random order are recalculated at the latest after this time. |
| Sales period (default) | Last 30 days | |
| Sales basis (default) | This sales channel | |
| Fallback when calculation is stalled (minutes) | 30 | If neither the scheduled task nor a calculation ran within this time (cron or queue worker stopped), listings fall back to the native sorting of the first criterion. |
Diagnostics
| Setting | Default | Description |
|---|---|---|
| Store position explanations | off | Stores for every product why it is at its position (visible via the console command stream-sorting:debug). Increases database size; only enable for analysis. |
FAQ
Q: Does the sorting also apply to categories with manually assigned products?
A: No. The plugin only sorts dynamic product groups — in categories whose product assignment is a dynamic product group, in product sliders with a dynamic product group and in cross-selling of the type “Dynamic product group”.
Q: Does the plugin slow down my shop?
A: No. The order is pre-calculated in the background. When a category is opened, the shop only reads the finished order.
Q: When does a sale count?
A: As soon as the order has been placed. Cancelled orders are not counted. With Period and Count sales from you define which orders are included.
Q: How do I show new arrivals further up without giving up the bestseller sorting?
A: Leave the criteria unchanged and switch on the Novelty boost in the Rules card, for example for products younger than 30 days with factor 1.5.
Q: Can I schedule a campaign?
A: Yes. Pin the promotional product and enter Valid from and Valid until. Note that the times are given in UTC.
Q: Can I show resellers a different order than consumers?
A: Yes, in two ways: with a separate sorting per sales channel (section 5.7) or with a rule under Only apply for rule (section 5.2).
Q: What about products that have different names in another language?
A: If you sort by name, manufacturer or a text custom field, the order of the sales channel’s default language applies — also for customers who use the shop in another language.
Q: What happens if I deactivate or uninstall the plugin?
A: Your shop shows the standard Shopware sorting again. If Recommended was your default sorting, the plugin resets it to Topseller when uninstalling so that your categories remain sorted. Whether your settings are kept is decided when you uninstall (details in the section for administrators).
For administrators / technical details
This section is intended for technical administrators. You do not need it for normal use.
System requirements
- Shopware: 6.7 (from 6.7.0)
- PHP: 8.2 or newer
- Database: MySQL 8.0.22 or newer, or MariaDB 10.11 or newer
- Elasticsearch/OpenSearch: not required. If it is active, the plugin deliberately loads the listings it sorts via the database; all other searches and listings remain unaffected.
Background processing (required)
The plugin calculates the order via the Shopware message queue, on the async queue. In addition, a scheduled maintenance task runs every 5 minutes (score age, start and end of pins, daily random sequence, catching up on failed runs, cleanup of old previews).
Set up two cron jobs running every minute on the server (or equivalent permanent worker processes):
* * * * * cd /path/to/shop && php bin/console scheduled-task:run --no-wait --time-limit=50 >/dev/null 2>&1
* * * * * cd /path/to/shop && php bin/console messenger:consume async low_priority --time-limit=50 --memory-limit=512M >/dev/null 2>&1
- If
asyncis missing from the consume command, nothing is ever recalculated. Keeplow_priorityas well, Shopware uses it for its own background jobs. - Then disable the admin worker, otherwise both compete; the admin worker aborts large runs after 30 seconds. In
config/packages/shopware.yaml:
shopware:
admin_worker:
enable_admin_worker: false
- If processing does not run, listings fall back to sorting by the first criterion after the time set in Fallback when calculation is stalled (minutes). The Sorting tab then shows the note about background processing. The shop does not return error pages.
Installation via the command line
php bin/console plugin:refresh
php bin/console plugin:install --activate SwpStreamSortingSix
php bin/console cache:clear
The Administration is shipped pre-built with the plugin; nothing needs to be built on the server.
Console commands
Trigger a recalculation — via the queue or with --sync directly in the process (useful for the initial calculation after setup):
php bin/console stream-sorting:recalculate
php bin/console stream-sorting:recalculate --sync
php bin/console stream-sorting:recalculate --stream=<product-group-id> --sales-channel=<sales-channel-id> --sync
Diagnose a sorting — status, effective settings and the top positions with explanation:
php bin/console stream-sorting:debug --stream=<product-group-id>
php bin/console stream-sorting:debug --stream=<product-group-id> --sales-channel=<sales-channel-id> --top=50
php bin/console stream-sorting:debug --stream=<product-group-id> --product=<product-id> --json
The stored per-position explanations are only available if Store position explanations is switched on in the plugin configuration.
Known limitations
- New members of a product group appear in the sorted listing only after the next follow-up run of background processing, usually after about one minute.
- With the HTTP cache active, the storefront shows a newly calculated order with a delay of up to 5 minutes. Shopware clears the affected pages from the cache in batches via its scheduled task
shopware.invalidate_cache, which runs every 5 minutes. - Text criteria (name, product number, manufacturer, text and selection custom fields) sort by the default language of the sales channel, not per language.
- Time-based rules (for example day of week or time of day) do not work reliably for anonymous guests without a cart when the HTTP cache is active — the same applies to price rules in Shopware.
- Pinned positions apply to the unfiltered product group; under customer filters, the position results from the order.
- Start and end of a pin are picked up by the maintenance task, i.e. with a delay of up to 5 minutes.
Uninstallation
- Keeping the data: all sortings, pinned products and the Recommended sorting option are kept. A reinstallation continues from there.
- Without keeping the data: all plugin data and the Recommended sorting option are removed.
- In both cases: if the default sorting or the default search result sorting points to Recommended, the plugin resets it to Topseller so that listings remain sorted.
This manual was written for Product Stream Sorting version 6.7.0.
How much help do you need?
-
Updates and compatibility: Plugin-Care from €149 per month
Before every Shopware release we check whether your plugins keep up. You get a written recommendation and install the updates yourself. Cancel monthly.
See Plugin-Care -
Setup or customisation: intro call
Want us to set up the plugin, or are you missing a feature? We sort that out in a free intro call.
Book an intro call
Something in the plugin not working? Write to us
More manuals
Address Validation: House Number Check & Corrections
Address validation at the point of entry: the plugin spots missing house numbers, can suggest corrections via Google and helps you send fewer parcels that come back undeliverable.
Open manual Shopware 6Admin Password Reminder
Admin Password Reminder: your backend users renew their passwords on time, prompted after login and by a daily email. Premium locks expired accounts until the password is changed.
Open manual Shopware 6Admin Tweaks: Backend Lists & Shortcuts
Admin Customization
Open manualNeed a team that keeps your shop running?
We have been working with Shopware since 2010 and maintain shops including updates, hotfixes and the plugins you are configuring right now.