Create Category-Wide Sales in WooCommerce (Automatic Coupons)
Learn how to create powerful category-wide discounts in WooCommerce using automatic coupons. This complete guide covers percentage discounts, price discounts per item, and fixed price discounts for entire product categories. Boost sales, clear inventory, and reduce cart abandonment with targeted category promotions.
📋 Table of Contents
- Before You Begin: Enable WooCommerce Coupons
- Option 1: Percentage Discount Per Item
- Option 2: Price Discount Per Item
- Option 3: Fixed Price Discount
- Quick Comparison Table
- Next Steps
🚀 Before You Begin: Enable WooCommerce Coupons
The Discount Rules and Dynamic Pricing for WooCommerce plugin works with WooCommerce's built-in coupon system. Please ensure it is enabled first:
- Go to your WordPress Admin Dashboard
- Navigate to WooCommerce > Settings
- Click on the General tab
- Check the box for Enable coupons
- Save your changes
Now you're ready to create automatic coupon rules under the Woo Pricing & Discounts > Discounts tab. This powerful plugin (available in a free version) offers advanced cart discount rules that help you create discounts for specific categories, products, product variations, and product attributes.
Option 1: Percentage Discount Per Item
Best for: Applying a percentage off every item in selected categories. Perfect for clearance sales or seasonal promotions where you want proportional savings across entire product lines.
Scenario: Give 20% off all products in the Shirts category. If a customer buys a $25 shirt and a $30 shirt, they get $5.00 and $6.00 discounts respectively.
Step 1: Access Discounts and Choose a Template
- In your WordPress admin, go to the Woo Pricing & Discounts menu
- Open the Discounts tab
- Click on the Add from Template button to quickly start a new rule

- In the "Choose your desired campaign" modal, search for templates
- Under Automatic Coupons, find and select "Category-Wide Sale (20% Off)"
- Click "Add Campaign"

Step 2: Configure the Discount

- Name: "Category-Wide Sale (20% Off)" (customizable)
- Private Note: Add internal notes for your reference
- Status: Ensure Enable is checked
- Manual Coupon: Leave unchecked for automatic application (customers get the discount without entering a code)
- Apply Mode: Choose how this rule interacts with other discounts
- Apply with other applicable rules (Non-Exclusive): Works alongside other discounts
- Exclusive: Disregards all other applicable rules
- Apply if other rules are not applicable: Acts as a fallback
- Discount Type: Select "Percentage discount per item"
- Discount Amount: Enter
20for 20% off each item - Usage Limit: Leave blank for unlimited uses
Step 3: Select Categories
Under the Items section, you define which categories receive the category-wide discount. This section allows you to target one or multiple product categories.
How to select your categories:
- Select "Categories in list" condition to open the category selector
- Search for and select your desired categories
- You can search and select multiple categories in the search field
- Use "+ OR New Group" to create alternative conditions if it is required

Example: In our tutorial, we'll select the Shirts && Accessories categories.
For detailed information on filtering products by categories, variations, attributes, stock status, or dynamic segments, check out our Product Selection Guide.
Step 4: Exclude Products (Optional)
The Excluded Products section allows you to exclude specific products from the category-wide discount. This is useful when you want to run a category sale but exclude certain items like new arrivals or bestsellers.
How to exclude products:
- Click on the "+ OR New Group" button to add a new condition
- Select the "Products in list" condition from drop down select field
- Search for and select the products to exclude
- You can add multiple products to the search field
- If you want to exclude product variations, then add a new "Product variations in list" condition then search and select the product variations

Example: In our tutorial, we'll exclude the "Shirt" from the Shirts category discount.
Step 5: Schedule the Coupon (Optional)
By default, the campaign is unscheduled and runs immediately:
For scheduled promotions, under the "Date Time" section to configure:
- Date Range - Run a promotion over a period (e.g.,
2026-07-20to2026-07-31for a summer sale) - Date Time Range - Precise start and end date/time for flash sales
- Specific Date - Single date activation (e.g.,
2026-11-27for Black Friday) - Days - Recurring weekly promotions (e.g., Saturday & Sunday)
- Time - Daily time ranges (e.g., "happy hour" between 14:00-16:00)

Use "+ And New Rule" to combine conditions (e.g., weekends AND specific time) or "+ OR New Group" for alternative schedules.
For a deep dive into timezone setup, recurring schedules, and multi-tier scheduling logic, read our comprehensive Scheduling & Date-Time Guide.
Step 6: Save and Test
Click Save and test with your selected categories and excluded products in the cart.
Result Example
Cart with products from Shirts category (excluding Shirt - Cream):
- Shirt - Cream: $25.00 × 1 (Shirt category product)
- Shirt - Green: $25.00 × 1 (Shirt category product)
- Sweater - Color: Beige, Size: Large: $20.00 × 1 (Sweater category product, not included in our discount example)
Subtotal: $70.00
Discount Calculation: 20% × ($25 + $25) = $10.00 discount
Result: The "Category-Wide Sale (20% Off)" coupon applies automatically to each product in the Shirts category (except the excluded shirt), saving the customer $10.00.

Option 2: Price Discount Per Item
Best for: Applying a fixed dollar amount off every item in selected categories. Ideal for promotions where you want consistent per-item savings that multiply with quantity across entire product lines.
Scenario: Give $2 off every product in the Shirts category. If a customer buys 3 shirts, they get $6 total discount. If they buy 5 shirts, they get $10 total discount.
Step 1: Access Discounts and Choose a Template
- In your WordPress admin, go to the Woo Pricing & Discounts menu
- Open the Discounts tab
- Click on the Add from Template button
- Under Automatic Coupons, find and select "Category Item Savings ($2 Off)"
- Click "Add Campaign"

Step 2: Configure the Discount

- Name: "Category Item Savings ($2 Off)" (customizable)
- Private Note: Add internal notes for your reference
- Status: Enable the rule
- Manual Coupon: Leave unchecked for automatic application
- Apply Mode: Choose your preferred mode
- Discount Type: Select "Price discount per item"
- Discount Amount: Enter
2for $2 off each item - Usage Limit: Leave blank for unlimited uses
Step 3: Select Categories
Under the Items section, define which categories receive the discount:
- Select "Categories in list" condition to open the category selector
- Search for and select your desired categories
- You can search and select multiple categories in the search field
- Use "+ OR New Group" to create alternative conditions if it is required

Example: In our tutorial, we'll select the Shirts and Accessories categories.
For detailed information on filtering products by categories, variations, attributes, stock status, or dynamic segments, check out our Product Selection Guide.
Step 4: Exclude Products (Optional)
Under the Excluded Products section, exclude specific products from the discount:
- Click on the "+ OR New Group" button to add a new condition
- Select the "Products in list" condition from drop down select field
- Search for and select the products to exclude
- You can add multiple products to the search field
- If you want to exclude product variations, then add a new "Product variations in list" condition then search and select the product variations

Example: We'll exclude the "Shirt" from the Shirts category discount.
Step 5: Schedule the Coupon (Optional)
By default, the campaign is unscheduled and runs immediately. For scheduled promotions, follow the scheduling steps described in Option 1.
Step 6: Save and Test
Click Save and test with multiple products from selected categories in the cart.
Result Example
Cart with products from Shirts category (excluding Shirt - Cream):
- Shirt - Cream: $25.00 × 1 (Shirt category product)
- Shirt - Green: $25.00 × 1 (Shirt category product)
- Sweater - Color: Beige, Size: Large: $20.00 × 1 (Sweater category product, not included in our discount example)
Subtotal: $70.00
Discount Calculation: $2 × 2 items = $4.00 discount
Result: The "Category Item Savings ($2 Off)" coupon applies automatically, giving the customer $2 off each product in the Shirts category. With 2 items, the total discount is $4.00.

Option 3: Fixed Price Discount
Best for: Setting a maximum discount cap for an entire category. Ideal for promotions where you want to offer significant savings but control your maximum discount exposure across product lines.
Scenario: Give a maximum of $20 off all products in the Shirts category. The actual discount is the lesser of the fixed amount or the subtotal of eligible category items.
How it works:
- If selected category items subtotal is $90, customer gets $20 discount (capped)
- If selected category items subtotal is $10, customer gets $10 discount (limited by subtotal)
- If selected category items subtotal is $30, customer gets $20 discount (capped)
- If selected category items subtotal is $15, customer gets $15 discount (limited by subtotal)
Step 1: Access Discounts and Choose a Template
- In your WordPress admin, go to the Woo Pricing & Discounts menu
- Open the Discounts tab
- Click on the Add from Template button
- Under Automatic Coupons, find and select "Category-Wide Sale ($20 Off)"
- Click "Add Campaign"

Step 2: Configure the Discount

- Name: "Category-Wide Sale ($20 Off)" (customizable)
- Private Note: Add internal notes for your reference
- Status: Enable the rule
- Manual Coupon: Leave unchecked for automatic application
- Apply Mode: Choose your preferred mode
- Discount Type: Select "Fixed price discount"
- Discount Amount: Enter
20for maximum $20 off - Usage Limit: Leave blank for unlimited uses
Note: The fixed price discount amount applies to the whole cart in the backend even if you select specific categories. The discount is capped at the fixed amount and limited by the subtotal of eligible category items.
Step 3: Select Categories
Under the Items section, define which categories receive the discount:
- Select "Categories in list" condition to open the category selector
- Search for and select your desired categories
- You can search and select multiple categories in the search field
- Use "+ OR New Group" to create alternative conditions if it is required

Example: In our tutorial, we'll select the Shirts and Accessories categories.
For detailed information on filtering products by categories, variations, attributes, stock status, or dynamic segments, check out our Product Selection Guide.
Step 4: Exclude Products (Optional)
Under the Excluded Products section, exclude specific products from the discount:
- Click on the "+ OR New Group" button to add a new condition
- Select the "Products in list" condition from drop down select field
- Search for and select the products to exclude
- You can add multiple products to the search field
- If you want to exclude product variations, then add a new "Product variations in list" condition then search and select the product variations

Example: We'll exclude the "Shirt" from the Shirts category discount.
Step 5: Schedule the Coupon (Optional)
By default, the campaign is unscheduled and runs immediately. For scheduled promotions, follow the scheduling steps described in Option 1.
Step 6: Save and Test
Click Save and test with different combinations of products from selected categories.
Result Example
Cart with products from Shirts category (excluding Shirt - Cream):
- Shirt - Cream: $25.00 × 1 (Shirt category product)
- Shirt - Green: $25.00 × 1 (Shirt category product)
- Sweater - Color: Beige, Size: Large: $20.00 × 1 (Sweater category product, not included in our discount example)
Subtotal of eligible category items: $70.00
Discount Calculation: Min($20, $50) = $20.00 discount
Result: The "Category-Wide Sale ($20 Off)" coupon applies automatically, giving the customer the maximum $20 discount. Even though the eligible category items total $50, the discount is capped at $20.

Quick Comparison Table
| Feature | Percentage Per Item | Price Per Item | Fixed Price |
|---|---|---|---|
| Template | "Category-Wide Sale (20% Off)" | "Category Item Savings ($2 Off)" | "Category-Wide Sale ($20 Off)" |
| Discount Type | Percentage discount per item | Price discount per item | Fixed price discount |
| Best For | Proportional savings across categories | Multiplicative savings | Capped category discounts |
| Example Rate | 20% off each item | $2 off each item | $20 max off category |
| Cart (3 items @ $70) | 20% × $70 = $14.00 | $2 × 3 = $6.00 | Min($20, $70) = $20.00 |
| Cart (1 item @ $25) | 20% × $25 = $5.00 | $2 × 1 = $2.00 | Min($20, $25) = $20.00 |
| Cart (1 item @ $10) | 20% × $10 = $2.00 | $2 × 1 = $2.00 | Min($20, $10) = $10.00 |
🎉 Success!
You've learned how to create three types of category-wide discounts using automatic coupons in WooCommerce. Each discount type serves different promotional goals:
- Percentage per item - Best for percentage-based promotions where you want proportional savings across entire categories
- Price per item - Best for fixed savings that multiply with quantity purchased across product lines
- Fixed price - Best for capping total discount on category purchases to control promotion costs
All discounts apply automatically with no coupon code required, creating a frictionless shopping experience that can significantly boost conversion rates, clear inventory, and reduce cart abandonment.
Experience all discount rules and pricing strategies in action on our Live Demo Website.
Upgrade to Discount Rules and Dynamic Pricing for WooCommerce PRO to unlock advanced conditions, user role pricing, recurring schedules, tiered variations, and priority support.
📚 Next Steps
Now that you've mastered category-specific cart discounts, explore other category & cart promotions:
- Product-Specific Cart Discounts — Target individual products instead of full categories.
- Mix & Match Product Discounts — Create bundle promotions for category items.
- Bulk Category Discounts (Pricing Rules) — Apply volume pricing to categories at catalog level.
- Minimum Spend Discounts — Combine category conditions with subtotal minimum spend rules.
- Black Friday Cart Discounts — Run seasonal category-wide sales promotions.
🔍 SEO Keywords
Primary Keywords: category-wide discounts WooCommerce, automatic coupons WooCommerce, category specific discounts, WooCommerce discount rules, dynamic pricing WooCommerce, category sale WooCommerce
Secondary Keywords: percentage discount per item category, price discount per item category, fixed price discount category, cart discount WooCommerce, WooCommerce coupon automation, product categories discount, WooCommerce promotion, clear inventory WooCommerce, reduce cart abandonment, boost sales WooCommerce, Discount Rules and Dynamic Pricing plugin