Discount Master for WooCommerce is a powerful plugin that enables you to create flexible, advanced discount rules for your WooCommerce store. This documentation details each available discount condition, explaining what it does and how it can be used to tailor your store’s pricing strategies.
1. Product-Based Conditions
| Condition | Description | Example |
|---|---|---|
| Select Products | Apply discounts only if specific products are present in the cart. Useful for product-specific promotions. | 10% off when “Blue T-shirt” is in the cart. |
| Product Categories | Target discounts to products belonging to selected categories. Ideal for category-wide sales. | 15% off all products in the “Shoes” category. |
| Product Tags | Restrict or allow discounts based on product tags. Useful for seasonal or thematic promotions. | 5% off all products tagged “summer-sale”. |
| Product Attributes | Apply discounts to products with certain attributes (e.g., color, size). Enables attribute-specific offers. | 20% off all products where the attribute “color” is “red”. |
| Product Taxonomy | Set discounts based on custom product taxonomies. Useful for stores using custom classifications. | 12% off all products from the brand “Adidas” (custom taxonomy: Brand, value: Adidas). |
| Product Meta | Use custom meta fields as discount triggers. Allows advanced targeting using product metadata. | 10% off products where meta key _featured equals yes (featured products). |
2. Cart-Based Conditions
| Condition | Description | Example |
|---|---|---|
| Cart Subtotal | Trigger discounts based on the cart subtotal (before taxes/shipping). Comparison operators (e.g., >, <, =) allow for flexible thresholds. | $20 off if cart subtotal is greater than $200. |
| Cart Total | Similar to subtotal, but can include taxes and shipping if configured. Useful for order value-based discounts. | 5% off if cart total (including shipping) exceeds $250. |
3. User-Based Conditions
| Condition | Description | Example |
|---|---|---|
| Select Users | Apply discounts to specific users. Useful for VIP or loyalty programs. | 25% off for user “[email protected]”. |
| User Roles | Offer discounts to users with certain roles (e.g., wholesale, subscriber). Enables role-based pricing. | 30% off for users with the “wholesale” role. |
| User Logged In | Discounts apply only to logged-in users. Encourages account creation. | 10% off for logged-in customers only. |
| User Not Logged In | Discounts for guests or new customers. Useful for first-time buyer incentives. | 5% off for guest checkout users. |
| User Email | Target users by email address. Supports inclusion/exclusion and comparison operators. | 20% off for users with email ending in “@company.com”. |
| User Meta | Use custom user meta fields as conditions. Enables highly customized discount targeting. | 20% off for users where meta key membership_level equals gold. |
4. Customer Purchase History Conditions
| Condition | Description | Example |
|---|---|---|
| Total Orders Made | Discount applies if the customer has placed a certain number of orders. Useful for rewarding repeat customers. | 10% off after 5 completed orders. |
| Total Spent | Trigger discounts based on the total amount a customer has spent in your store. Great for high-value customer rewards. | $50 off for customers who have spent over $1000. |
| First Purchase | Offer discounts on a customer’s first order. Effective for new customer acquisition. | Free shipping for first-time buyers. |
| Purchased Products | Discounts for customers who have previously bought specific products. Enables cross-selling and loyalty offers. | 15% off if customer previously bought “Winter Jacket”. |
| Reviewed Products | Apply discounts to customers who have reviewed certain products. Encourages product reviews. | 10% off for customers who reviewed “Running Shoes”. |
| Number of Reviews | Discount based on the total number of reviews a customer has submitted. Rewards active community members. | 5% off for customers who have submitted 3 or more reviews. |
5. Coupon-Based Conditions
| Condition | Description | Example |
|---|---|---|
| Coupon Applied in Cart | Discount is triggered only if a specific coupon is applied. Useful for stacking or conditional coupon logic. | Extra 5% off if coupon code “SUMMER2025” is used. |
| Coupon Not Applied in Cart | Discount applies only if certain coupons are not used. Helps prevent double discounts or conflicting offers. | 10% off if no coupon is applied at checkout. |
6. Payment Gateway Conditions
| Condition | Description | Example |
|---|---|---|
| Payment Gateway(s) Selected | Apply discounts when customers choose specific payment methods (e.g., PayPal, Stripe). Useful for promoting preferred gateways. | $5 off if customer pays with “Stripe”. |
7. Shipping Method/Zone Conditions
| Condition | Description | Example |
|---|---|---|
| Shipping Method(s) Selected | Discount applies if selected shipping methods are chosen at checkout. Useful for promoting or offsetting shipping costs. | Free shipping if “Express Delivery” is selected. |
8. Include/Exclude Logic
For each condition, you can choose to either include (apply the discount if the condition matches) or exclude (apply the discount if the condition does not match). This allows for highly granular discount rules, such as excluding sale items or certain user groups from promotions.
How Conditions Work Together
-
You can combine multiple conditions to create complex discount rules (e.g., “Apply a 10% discount to logged-in wholesale customers who spend over $500 on products from the ‘Winter Collection’ category “).
-
Each condition can be set to include or exclude specific values, allowing for precise control over who receives discounts and when.
-
Comparison operators (equals, not equals, greater than, less than, etc.) provide additional flexibility for numerical or value-based conditions.
Examples
-
Bulk Purchase Discount: Cart subtotal > $200 → 15% off.
-
First Order Discount: First purchase = true → 10% off.
-
Role-Based Discount: User role = “wholesale” → 30% off all products.
-
Product Attribute Discount: Product attribute = “size: Large” → 5% off.
-
Payment Method Promotion: Payment gateway = “Stripe” → $5 off order.
Summary
Discount Master for WooCommerce enables you to create advanced, flexible discount rules using a wide array of conditions, including products, cart values, user roles, purchase history, coupons, payment gateways, and shipping methods. These conditions can be combined and customized to fit virtually any promotional strategy for your WooCommerce store