> For the complete documentation index, see [llms.txt](https://ntl-plugin.gitbook.io/whole-pricing-for-woocommerce/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ntl-plugin.gitbook.io/whole-pricing-for-woocommerce/price-rule.md).

# Price Rules

## 1. Set price discount for all products by user role

You can settings it in **Dashboard -> User -> Role For Whole Sale**. You can choose a percentage discount or a value discount. You setting complete, all products belonging to that user role will be applied a percentage discount or the value.

![](/files/-MeYIQiKklBisvTRKPLX)

For example, in a user account with a User Role of the Whole Sale, 20% off, then all products purchased by a user with a User Role as the Whole Sale will receive a 20% discount.

![](/files/-MecLHPDvyeUTxJfDAZc)

![](/files/-MecLB7duOW1Psmlp-Xz)

## 2. Set price for each product with user role

You can set in each product with each User Role a different price. When purchasing the minimum quantity, different prices apply. This encourages your customers to buy more.

You can settings it in **Dashboard** -> **Products** -> **add new** or **edit product.** you find  tab setting  **Price by Role.**

![](/files/-MeYzeiWCsV0ZqSqUtex)

![](/files/-MeYzqisEx6WzB_r_6qs)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ntl-plugin.gitbook.io/whole-pricing-for-woocommerce/price-rule.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
