# Discount

### Discount height and type

In this section, specify what discount you would like to apply or whether you would like to apply a surcharge.

| Field                       | Type            | Description                                                                                     |
| --------------------------- | --------------- | ----------------------------------------------------------------------------------------------- |
| Discount type               | Dropdown        | Choose whether the discount should be absolute (a certain EUR amount) or relative (percentage). |
| Relative/ Absolute discount | Numerical input | Depending on the **discount type** selected, a field appears for entering the discount amount.  |
| Discount or upprice         | Dropdown        | In addition to discounts, the extension also allows surcharges to be applied.                   |

### Discount display

Select how the cancellation price and discount should be displayed on the product detail page.

| Field                                 | Type     | Description                                                                               |
| ------------------------------------- | -------- | ----------------------------------------------------------------------------------------- |
| Show discount on product detail page  | Dropdown | Choose how a discount should be displayed on the product detail page.                     |
| Show discount on product listing page | Dropdown | Change the display of the discount on category pages by making the appropriate selection. |


---

# Agent Instructions: 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://docs.premsoft.de/en/plugins/discount-category-for-shopware-6/admin-dashboard/create-campaign/discount.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.
