| 开发者 |
plgnplay
freemius |
|---|---|
| 更新时间 | 2026年8月21日 20:00 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
smart-product-sort folder to /wp-content/plugins/.WooCommerce sets one default catalog order for the whole store under WooCommerce > Settings > Products. Smart Product Sort replaces that with rules: go to WooCommerce > Smart Product Sort, click Add Sort Rule, pick a sort criterion, and either leave the rule global or assign it to a single product category. The new order applies to your shop and category pages immediately.
Yes. Each rule can target one product category, and a category rule always overrides the global rule. Categories without their own rule fall back to the global one. The free version includes up to 3 rules; Pro removes that limit.
The free version allows 3 sort rules. Existing rules keep working if you have more than 3 from an earlier version — you simply cannot add new ones until you remove one or upgrade to Pro, which has no limit.
The free version sorts by 10 criteria: date, price, name, popularity, rating, random, menu order, stock status, review count and sale price. Pro adds sorting by any custom field, including Advanced Custom Fields (ACF) values.
Yes, and this is free. Create a rule with Stock Status as the sort criterion. Products are reordered so in-stock items lead — out-of-stock products are moved down the page, never hidden or removed from the catalog.
Yes, with Pro. Choose "Custom Field / ACF" as the sort criterion and enter the field key. ACF stores its values as ordinary post meta, so any ACF field works. Pick "Number" as the field type for numeric fields so that 100 sorts above 20 rather than below it. Products that do not have the field are placed last and are never hidden.
Yes, with Pro. Any rule can be given a start time, an end time, or both. The rule begins sorting at its start time and stops at its end time on its own, so a Black Friday order can go live and retire itself without anyone changing a setting. Expired rules are automatically marked inactive.
The customer's choice always wins. Smart Product Sort only controls the default order shown before a shopper picks anything from the WooCommerce sorting dropdown.
No. Smart Product Sort only changes the order of products, never which products appear. Every product that WooCommerce would normally show is still shown, including products missing the field a rule sorts by — those are placed last rather than removed.
Yes. Variable products are sorted by their price range, using the lowest price when sorting ascending and the highest when sorting descending, and each product appears exactly once.
Each rule has a priority number, and a lower number means higher importance. When more than one rule could apply, the rule with the lowest priority number wins. This keeps sorting predictable instead of leaving conflicting rules to chance.
No. Smart Product Sort runs one lightweight query to find the active rule, caches the result, and then modifies the ordering of the query WooCommerce already runs. It does not add extra product queries to the page.
Yes. Smart Product Sort extends WooCommerce catalog sorting and requires WooCommerce to be installed and active. It does nothing on a site without WooCommerce.
Yes. The plugin declares full compatibility with High-Performance Order Storage (custom order tables).
Yes. All strings use the smart-product-sort text domain and a .pot file is included in the languages folder.
No. Rules are stored in your own database and are untouched by licence changes. If you downgrade, rules that use Pro-only criteria simply stop applying until you upgrade again.
_price row per variation price, so variable products were duplicated in the catalog — most visibly when price was used as a tiebreaker. Meta values are now aggregated per product before sorting.