Example Rules
The Automatic Product Categories for WooCommerce plugin allows you to create dynamic categories and tags based on product conditions. Below are some practical use cases demonstrating how you can optimize your store management.
Example 1: Using Include
Scenario: You want to add all "Winter Collection" products to a "Featured" category.
Rule Setup:
- Condition:
Category Name
Include"Winter Collection"
- Action: Add to "Featured"
Before Rule Execution:
Product Name | Categories |
---|---|
Wool Scarf | Winter Collection, Accessories |
Snow Boots | Winter Collection, Footwear |
Sunglasses | Summer Collection, Accessories |
After Rule Execution:
Product Name | Categories |
---|---|
Wool Scarf | Winter Collection, Accessories, Featured |
Snow Boots | Winter Collection, Footwear, Featured |
Sunglasses | Summer Collection, Accessories |
Only products that exactly match "Winter Collection"
are included.
Example 2: Using Include one or more containing
Scenario: You want to add all products related to "Winter" into the "Cold Weather Gear" category, even if they belong to multiple collections.
Rule Setup:
- Condition:
Category Name
Include one or more containing"Winter"
- Action: Add to "Cold Weather Gear"
Before Rule Execution:
Product Name | Categories |
---|---|
Wool Scarf | Winter Collection, Accessories |
Snow Boots | Winter Sale, Footwear |
Thermal Jacket | Cold Weather, Outerwear |
Sunglasses | Summer Collection, Accessories |
After Rule Execution:
Product Name | Categories |
---|---|
Wool Scarf | Winter Collection, Accessories, Cold Weather Gear |
Snow Boots | Winter Sale, Footwear, Cold Weather Gear |
Thermal Jacket | Cold Weather, Outerwear |
Sunglasses | Summer Collection, Accessories |
Both "Winter Collection"
and "Winter Sale"
products were included, since they contained the word "Winter"
in their category names.
3. Create a "Top Sellers" Category
Automatically assign products to a "Top Sellers" category if they have high sales.
Rule Setup:
- Condition:
_wc_total_sales
greater than50
- Action: Add to category "Top Sellers"
This ensures that only products with 50+ sales are added to "Top Sellers".
4. Assign "Low Stock" Labels Automatically
Tag products as "Low Stock" when the inventory drops below a certain level.
Rule Setup:
- Condition:
_stock
less than5
- Action: Add tag "Low Stock"
Helps customers know when products are running out!
5. Highlight High-Rated Products ("Best Rated")
Automatically tag products as "Best Rated" if they have at least a 4.5-star rating.
Rule Setup:
- Condition:
_wc_average_rating
is greater or equal to4.5
- Action: Add tag "Best Rated"
Great for promoting customer favorites!
6. Auto-Tag New Arrivals
Mark newly added products as "New Arrival" for a limited time.
Rule Setup:
- Condition: Days since created is less than
30
- Action: Add category "New Arrivals"
Keeps your "New Arrivals" section fresh!
7. Mark Discounted Products as "On Sale"
Ensure all discounted products are added to the "On Sale" category.
Rule Setup:
- Condition:
On Sale
isyes
- Action: Add category "On Sale"
This makes it easier for customers to find discounted products.
8. Create a "Backorder Available" Category (For Pre-Order Products)
Automatically assign products to a "Backorder Available" category when backorders are allowed.
Rule Setup:
- Condition:
_backorders
Is exactlyyes
- Action: Add category "Backorder Available"
Helps customers know which products they can still order even if out of stock.
9. Add "Limited Edition" Tag for Low Quantity Products
Mark products as "Limited Edition" if only a small number of units remain.
Rule Setup:
- Condition:
_stock less than or equal to 10
- Action: Add tag "Limited Edition"
Drives urgency and encourages quick purchases!
10. Automatically Tag "Eco-Friendly" Products (Based on Attributes)
Automatically tag products as "Eco-Friendly" if they contain certain eco-friendly attributes.
Rule Setup:
If any of the following conditions are met
- Condition: Attribute
material
is"Recycled"
- Condition: Attribute
material
is"Organic"
- Action: Add tag "Eco-Friendly"
Makes it easier for customers to find sustainable products.
11. Organize Products by Custom Meta Fields
Use custom WooCommerce meta fields to categorize products automatically.
Example Use Case: Group products based on supplier name.
- Condition: Meta
_supplier_name
is exactly"Brand X"
- Action: Add category "Brand X Products"
Conclusion
By using these automated rules, you can save time and enhance product discoverability in your WooCommerce store. Whether you're promoting best-sellers, managing stock levels, or creating personalized categories, this plugin provides powerful automation for effortless store management!