Linux 软件免费装
Banner图

Smart Product Sort

开发者 plgnplay
freemius
更新时间 2026年8月21日 20:00
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

woocommerce product sorting sort order catalog sorting default sorting

下载

1.0.0 1.0.1 1.1.0 1.3.0

详情介绍:

Smart Product Sort is a free WooCommerce plugin that changes the default order products appear in on your shop page and product category pages. You create sorting rules in the WordPress admin — sort by price, name, date, popularity, rating, stock status, review count, sale price, menu order or random — and apply each rule to your whole shop or to one product category. No theme edits and no code are required. WooCommerce only lets you set one default catalog order for the entire store. Smart Product Sort replaces that single setting with per-category rules, so your Sale category can lead with discounts while your New In category leads with the newest arrivals. The Problem WooCommerce's built-in sorting is limited. Store owners often need to: Smart Product Sort solves all of this through a straightforward admin interface. Features How It Works
  1. Navigate to WooCommerce > Smart Product Sort in your admin dashboard.
  2. Click Add Sort Rule.
  3. Choose the sort criteria (price, name, date, popularity, rating, random, menu order, stock status, review count, or sale price).
  4. Optionally assign the rule to a specific product category.
  5. Set a priority number and activate the rule.
Sorting applies automatically on the frontend from that point on. Category-specific rules take precedence over global rules. When a customer visits a category with its own rule, that rule applies. Otherwise, the global rule is used as a fallback. Pro Features Free vs Pro at a glance The free version includes 3 sort rules, all 10 sort criteria, per-category rules, the priority system and the on/off toggle. Pro adds unlimited rules, scheduled and auto-expiring rules, custom field and ACF sorting, tiebreaker sorting, rule duplication, and rule import/export. Nothing in the free version is time limited, and your rules stay in your own database either way. Use Cases

安装:

  1. Upload the smart-product-sort folder to /wp-content/plugins/.
  2. Activate through Plugins > Installed Plugins.
  3. Make sure WooCommerce is installed and active.
  4. Go to WooCommerce > Smart Product Sort to add your first rule.

屏幕截图:

  • Add Sort Rule modal — choose sort criteria, category, priority, and activate with a toggle switch.
  • Edit Sort Rule modal — modify existing rules with pre-filled fields and save instantly.

升级注意事项:

1.3.0 Fixes variable products appearing twice when sorting by price. Stock, review and sale-price sorting are now free; adds scheduled rules and custom field / ACF sorting to Pro. 1.1.0 Pro features: In-Stock First sorting, On-Sale First, Reviews, rule duplication, import/export. 1.0.1 Redesigned admin interface with a cleaner, modern look. 1.0.0 Initial release of Smart Product Sort.

常见问题:

How do I change the default product sorting in WooCommerce?

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.

Can I use a different sort order for each product category?

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.

How many sort rules can I create in the free version?

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.

What can I sort products by?

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.

Can I sort out-of-stock products to the bottom of the page?

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.

Can I sort WooCommerce products by an ACF field?

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.

Can I schedule a sort rule for a sale or a season?

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.

What happens if a customer chooses a sort option themselves?

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.

Does this plugin hide or filter any products?

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.

Does it work with variable products?

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.

How does the priority system work?

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.

Will this plugin slow down my store?

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.

Does this plugin require WooCommerce?

Yes. Smart Product Sort extends WooCommerce catalog sorting and requires WooCommerce to be installed and active. It does nothing on a site without WooCommerce.

Is it compatible with WooCommerce HPOS?

Yes. The plugin declares full compatibility with High-Performance Order Storage (custom order tables).

Is the plugin translation ready?

Yes. All strings use the smart-product-sort text domain and a .pot file is included in the languages folder.

Do I lose my rules if I upgrade to Pro or downgrade to free?

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.

更新日志:

1.3.0 1.2.0 1.1.0 1.0.1 1.0.0