---
title: "Custom taxonomy conditions: discounts by brand and more"
description: "Use product brands or any custom product taxonomy in Pricepep rules: enable it in Settings, then add it as a condition in Products or Items."
url: "https://pricepep.com/docs/custom-taxonomy-conditions/"
updated: "2026-12-02"
category: Conditions
---

# Custom taxonomy conditions: discounts by brand and more

Pricepep can use **any product taxonomy** as a condition, for example **brands**. Enable the taxonomy in **WooCommerce > Pricepep > Settings > Enabled custom taxonomy conditions**, and a condition with the taxonomy's name appears in the **Custom Taxonomy** group of the product condition list.

## How do I give a discount on a brand?

1. Go to **WooCommerce > Pricepep > Settings**.
2. In the **Conditions** section, select the taxonomy in **Enabled custom taxonomy conditions** (for WooCommerce Brands it is `product_brand`) and click **Save Changes**.
3. Open the **Product Pricing** tab and add a rule, for example **Simple adjustment** with **Percentage discount** 15.
4. In **Products**, click **Add Product**, choose the condition named after the taxonomy (group **Custom Taxonomy**), keep **in list** and select the brand.
5. Click **Save Changes**.

The list in Settings shows the taxonomy **names** (slugs) as registered by WordPress, for example `product_brand`, not their display labels. The condition in the rule editor has the same name.

## What does a custom taxonomy condition check?

- **Checks:** the terms of the product in that taxonomy. For a variation, its own terms when it has any, otherwise the parent product's terms.
- **Fields:** terms of the taxonomy. When the taxonomy is hierarchical, selecting a term also matches its child terms.
- **Operators:** "in list", "not in list".
- **Available in:** Product pricing rules (Products / Products - Buy, Products - Get, Product Group); Cart discounts (Items); Checkout fees (Items).
- **Example:** `product_brand` in list "Acme" in a cart discount's **Items** with **Percentage discount per cart item** 10 gives 10% off the Acme items in the cart.

## Which taxonomies can I enable?

Every taxonomy registered for the `product` or `product_variation` post type, except product categories (`product_cat`), product tags (`product_tag`) and shipping classes (`product_shipping_class`), which have their own conditions. Typical examples are WooCommerce Brands and brand, vendor or collection taxonomies added by other plugins.

Developers can change the list with the `rp_wcdpd_custom_condition_taxonomies` and `rp_wcdpd_custom_condition_taxonomy_object_types` filters (see the [filter reference](/docs/filter-reference/)).

## Can I discount one marketplace vendor's products?

Yes, when your marketplace plugin keeps vendors in a product taxonomy, as WooCommerce Product Vendors and YITH WooCommerce Multi Vendor do: enable the vendor taxonomy here and select the vendor in the rule, as with a brand. Dokan, WCFM Marketplace and WC Vendors save the vendor as the product's author instead, and no Pricepep condition checks a product's author; a developer can add one as a [custom condition](/docs/creating-custom-conditions/).

## What happens if I disable a taxonomy that rules use?

The rules keep the condition, but the editor shows "Custom taxonomy condition was disabled. Enable it or delete this placeholder after reviewing your settings." If the taxonomy no longer exists at all (the plugin that added it was removed), the message is "Custom taxonomy no longer exists. Delete this placeholder after reviewing your settings."

Related: [how conditions work](/docs/conditions-overview/), [product conditions](/docs/product-conditions/), [settings reference](/docs/settings/).

## Frequently asked questions

### How do I discount all products of a brand?

Enable the brand taxonomy (product_brand for WooCommerce Brands) in WooCommerce > Pricepep > Settings > Enabled custom taxonomy conditions, then add that condition, in list, with the brand in the rule's Products section.

### Why is my taxonomy not in the list?

Only taxonomies registered for products or variations are listed, and categories, tags and shipping classes are left out because they have their own conditions.

### Can I use a custom taxonomy in cart conditions?

No. Custom taxonomy conditions are product conditions: Products, Products - Get and Product Group in product pricing rules, and Items in cart discounts and checkout fees.

### Can I discount the products of one marketplace vendor?

Yes, if the marketplace plugin keeps vendors in a product taxonomy, as WooCommerce Product Vendors and YITH WooCommerce Multi Vendor do. Dokan, WCFM and WC Vendors save the vendor as the product's author, which no Pricepep condition checks.

## Related articles

- [Conditions in Pricepep: how they work and combine](https://pricepep.com/docs/conditions-overview/)
- [Product conditions: products, categories, tags, price](https://pricepep.com/docs/product-conditions/)
- [Pricepep settings reference](https://pricepep.com/docs/settings/)

All articles in [Conditions](https://pricepep.com/docs-category/conditions/)
