The Product Attributes condition allows you to apply discounts based on the specific attributes assigned to your products.
Attributes are characteristics like color, size, brand, weight, Material, Age Group, etc. which you can set up in your WooCommerce store to describe your products better.
When you use this condition, the options you see will depend on the attributes you’ve already configured in your store.
For example:
- If your store has attributes like color and size, you’ll see these two options.
- If additional attributes like brand or weight are added, they will also appear, giving you more options to filter your discounts.
This flexibility lets you target discounts for specific product characteristics, enabling highly personalized and strategic offers for your customers.
1. Color Based Discount Conditions #
The Color attribute condition allows you to apply discounts to products based on their color. This is a perfect strategy for promoting specific color variations of your products.
To give you an instance:
Let’s offer a 15% discount on all white-colored products.
Once you set up a 15% discount, go to the Conditions section and follow these steps:
- Choose “Product Attributes” as the filter.
- Select “Color” from the attribute list.
- Set the condition to “Equals”.
- Enter “White” as the value.
- Save it.

This setup ensures that the discount applies only to products with the color attribute set to white.
For example, our product “Classic White T-Shirt” (priced at $20) will now get a 15% discount, reducing the price to $17.
This strategy is ideal for promoting specific product variations, clearing out inventory in certain colors, or capitalizing on trends where certain colors are in high demand.