> For the complete documentation index, see [llms.txt](https://docs.codegiganten.de/plugin-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codegiganten.de/plugin-documentation/apps/gratisprodukte/gratisartikel-nur-mit-regeln-in-den-warenkorb.md).

# Gratisartikel nur mit Regeln in den Warenkorb

Rabattaktion anlegen:

<figure><img src="/files/CG5mekLy6nHOJdW1wSh9" alt=""><figcaption></figcaption></figure>

Nur, wenn der Kunde diese Rabattaktion erhält, erhält er auch das verknüpfte Gratisprodukt (wir verknüpfen das später)

Jetzt können wir Bedingungen hinzufügen:

<figure><img src="/files/E81iMHuBbgUKa00JHmav" alt=""><figcaption></figcaption></figure>

Hier können neue Regeln als Bedingung erstellt werden.&#x20;

Hier als Beispiel: Mindestens 50 Euro Warenkorbwert und Produkt Haribo Goldbären im Warenkorb

<figure><img src="/files/oC6ZftFmq5v332rF5j9x" alt=""><figcaption></figcaption></figure>

Diese muss dann im Rabatt gepflegt werden:

<figure><img src="/files/O3ML3qWiDBOycjYuaIQO" alt=""><figcaption></figcaption></figure>

Hier könnte man jetzt z.B. auch eine Kunden-Regel (z.B. nur Kundengruppe XY) hinterlegen.&#x20;

<figure><img src="/files/N9ICVlcyKoSygByxGIEj" alt=""><figcaption></figcaption></figure>

Jetzt muss noch ein Rabatt gepflegt werden. Wichtig: Wert muss auf 0 gestellt werden.&#x20;

Dann muss man ein neues Gratisprodukt anlegen:

* Verkaufskanal anlegen
* Rabattaktion&#x20;
* Produkt auswählen&#x20;

<figure><img src="/files/hGPRMjfT6w6bBz5gFkza" 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 dynamically by asking a question.

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

```
GET https://docs.codegiganten.de/plugin-documentation/apps/gratisprodukte/gratisartikel-nur-mit-regeln-in-den-warenkorb.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
