Mô tả
Smart Product Sort is a WooCommerce plugin that gives store owners full control over how products appear in shop and category pages. Instead of relying on default WooCommerce sorting, you can create custom sorting rules and apply them globally or to specific categories — all without writing a single line of code.
The Problem
WooCommerce’s built-in sorting is limited. Store owners often need to:
- Show newest products first in one category
- Show best sellers first in another
- Prioritize higher-priced items in premium collections
- Apply a consistent default sort across the entire shop
- Change sorting quickly without editing theme files
Smart Product Sort solves all of this through a straightforward admin interface.
Features
- Unlimited sorting rules — Sort by name, price, popularity, rating, date, random, or menu order.
- Global or per-category — Apply a rule to the whole shop or assign it to a specific product category. Category rules override global ones automatically.
- Priority system — Lower number means higher importance. When multiple rules exist, the priority system determines which one wins — no conflicts.
- On/off toggle — Activate or deactivate any rule instantly. Test changes or handle seasonal sorting without deleting anything.
- Customer choice preserved — When a customer manually selects a sort option from the WooCommerce dropdown, their choice always takes priority.
- Lightweight — Runs a single database query per page load. No heavy operations, no performance impact.
- HPOS compatible — Fully compatible with WooCommerce High-Performance Order Storage.
How It Works
- Navigate to WooCommerce > Smart Product Sort in your admin dashboard.
- Click Add Sort Rule.
- Choose the sort criteria (price, name, date, popularity, rating, random, or menu order).
- Optionally assign the rule to a specific product category.
- 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.
Use Cases
- Fashion stores showing premium items first
- Electronics stores prioritizing best sellers
- Seasonal stores highlighting new arrivals
- Large catalogs with many categories needing different sort orders
- Stores that frequently update product positioning
Cài đặt
- Upload the
smart-product-sortfolder to/wp-content/plugins/. - Activate through Plugins > Installed Plugins.
- Make sure WooCommerce is installed and active.
- Go to WooCommerce > Smart Product Sort to add your first rule.
Hỏi đáp
-
Does this plugin require WooCommerce?
-
Yes. Smart Product Sort is built specifically for WooCommerce and requires it to be installed and active.
-
Can I set different sort rules for different categories?
-
Yes. You can create category-specific rules that override the global default. If no category-specific rule exists, the global rule is used as a fallback.
-
What happens if a customer manually selects a sort option?
-
The customer’s manual selection always takes priority. The plugin only controls the default sort order when no manual selection has been made.
-
Will this plugin slow down my store?
-
No. The plugin runs a single lightweight database query to determine the active rule and modifies the existing WooCommerce query arguments. There is no additional overhead.
-
How does the priority system work?
-
Each rule has a priority number. A lower number means higher importance. If multiple rules could apply, the one with the lowest priority number wins. This prevents conflicts and keeps sorting predictable.
-
Is this compatible with WooCommerce HPOS?
-
Yes. The plugin declares full compatibility with High-Performance Order Storage.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Smart Product Sort” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Smart Product Sort” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.0.1
- Redesigned admin interface with enterprise-grade UI.
- Improved table layout, modal design, and status badges.
- Added sort order indicators and empty state design.
1.0.0
- Initial release.
