> For the complete documentation index, see [llms.txt](https://ajuda.pdvlegal.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.pdvlegal.com.br/retaguarda/produtos/configuracao-de-quantidade-minima-e-maxima-de-modificadores.md).

# Configuração de quantidade mínima e máxima de modificadores

Defina limites por grupo e valide o comportamento no PDV.

Use esta configuração para controlar quantos modificadores o operador pode selecionar.

### Configurar o grupo de modificadores

{% stepper %}
{% step %}
Acesse: **Cadastro > Modificadores > Grupo**.
{% endstep %}

{% step %}
Clique no ícone: "Editar".
{% endstep %}

{% step %}
Defina as **quantidades mínimas e máximas permitidas** para o grupo.

{% hint style="info" %}
Por padrão, os campos começam em `0`. Nesse cenário, não há restrição de quantidade.
{% endhint %}

Se necessário, ative **Atualizar modificadores dos produtos associados a esse grupo**.

<figure><img src="https://1320237751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLaIVEmahy7qwD0rmQzED%2Fuploads%2Ff0VgBYxWnaDfxkPNlYvT%2F_.gif?alt=media&amp;token=5df580ac-0c26-4e72-bb3b-40d333d721b0" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Clique em **Gravar** para salvar a configuração.
{% endstep %}
{% endstepper %}

### Validar no PDV

{% hint style="info" %}
Quando um produto tiver limites definidos, os grupos exibirão indicadores visuais no PDV.
{% endhint %}

### Como interpretar os indicadores

* <mark style="background-color:yellow;">**Canto inferior esquerdo**</mark>: mostra a quantidade mínima e máxima do grupo.
* <mark style="background-color:blue;">**Canto inferior direito**</mark>: mostra quantos itens já foram selecionados.

<figure><img src="https://1320237751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLaIVEmahy7qwD0rmQzED%2Fuploads%2FOOUctmFNIOFCli8nx8Ph%2Fmodificadores_pdv1.gif?alt=media&amp;token=047490b4-b76b-4cd8-b9ef-42c847ef8766" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Quando a quantidade estiver dentro do limite, o indicador ficará <mark style="background-color:blue;">azul</mark>. Fora do limite, ficará <mark style="background-color:red;">vermelho</mark>.
{% endhint %}

{% hint style="warning" %}
Se o operador tentar confirmar a venda com um grupo fora do limite, o sistema exibirá uma mensagem de erro.
{% endhint %}

<figure><img src="https://1320237751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLaIVEmahy7qwD0rmQzED%2Fuploads%2FsdL7HxViGmR9dUlNlZZl%2Fmodificadores_pdv2.gif?alt=media&amp;token=3b2b198a-7cb6-4931-89fd-8944fb65efd0" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ajuda.pdvlegal.com.br/retaguarda/produtos/configuracao-de-quantidade-minima-e-maxima-de-modificadores.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
