# Base

### Base

Enter a name for the discount promotion, define a validity period and activate discount information for the listing and detail page.

| Field                               | Type            | Description                                                                                                                                                                                       |
| ----------------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name                                | Textfield       | Set a name for the discount campaign.                                                                                                                                                             |
| Active                              | Toggle          | The campaign only takes effect when the toggle switch is set to active.                                                                                                                           |
| Valid from                          | Date picker     | A start date for the campaign can be set as an option.                                                                                                                                            |
| Valid until                         | Date picker     | Optionally, a date can be set on which the campaign ends automatically.                                                                                                                           |
| Priority                            | Numerical input | If several campaigns apply to a product, the priority determines which discount is deducted first or which discount is valid at all. The higher the priority, the more important the campaign is. |
| Show discount badge in listing      | Toggle          | Specify whether discounted products should be labelled with a badge in the product list view.                                                                                                     |
| Show discount infobox in listing    | Toggle          | Activate this option if you want to display a discount box above the product listing.                                                                                                             |
| Show discount infobox on detailpage | Toggle          | After activating this option, a discount notice can be displayed on product detail pages.                                                                                                         |

### Badge in listing

Select a text for the badge and change the colours. This area is only displayed if the option **Show discount badge in listing** has been activated in the basic data.

| Field                  | Type         | Description                                                                                                                                                                                                  |
| ---------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Text                   | Textfield    | Specify a text to be displayed in the badge.                                                                                                                                                                 |
| Badge text color       | Color picker | Select the colour of the badge text. If you click on the icon in front of the text field, a colour selection window will open. Alternatively, you can also enter a hex value for your colour directly.       |
| Badge background color | Color picker | Select the colour of the badge background. If you click on the icon in front of the text field, a colour selection window will open. Alternatively, you can also enter a hex value for your colour directly. |

### Infobox in listing

In this area you can set how the discount notice box should look on category pages and which text is displayed there. You can also specify the categories in which the notice is displayed. This area is only displayed if the option **Show discount infobox in listing** has been activated in the basic data.

| Field                   | Type               | Description                                                                                                                                                                                                                   |
| ----------------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Infobox title text      | Textfield          | Select a text for the title of the box.                                                                                                                                                                                       |
| Show info icon          | Toggle             | The standard Shopware message box is used to display the notification text. This normally has an info symbol icon. This is only displayed if you activate the option.                                                         |
| Infobox text            | Textfield          | Write the text you want to appear in the hint box in this field.                                                                                                                                                              |
| Color of box text       | Color picker       | Select the colour of the box text. If you click on the icon in front of the text field, a colour selection window will open. Alternatively, you can also enter a hex value for your colour directly.                          |
| Color of box background | Color picker       | Select the colour you want the background of the box to be. If you click on the icon in front of the text field, a colour selection window will open. Alternatively, you can also enter a hex value for your colour directly. |
| Categories              | Multi select field | Select individual categories if you want to set the **category mode** in the following selection field.                                                                                                                       |
| Categorymode            | Dropdown           | With the **category mode**, you have the option of setting whether the info box should only be shown for certain categories or whether all categories within an article path should be taken into account.                    |

### Infobox on detailpage

In this area, select how the discount information box should look on the detail page and which text should be displayed there. This area is only displayed if the option **Show discount infobox on detail page** has been activated in the basic data.

| Field                   | Type         | Description                                                                                                                                                                                                                   |
| ----------------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Infobox title text      | Textfield    | Select a text for the title of the box.                                                                                                                                                                                       |
| Show info icon          | Toggle       | The standard Shopware message box is used to display the notification text. This normally has an info symbol icon. This is only displayed if you activate the option.                                                         |
| Infobox text            | Textfield    | Write the text you want to appear in the hint box in this field.                                                                                                                                                              |
| Color of box text       | Color picker | Select the colour of the box text. If you click on the icon in front of the text field, a colour selection window will open. Alternatively, you can also enter a hex value for your colour directly.                          |
| Color of box background | Color picker | Select the colour you want the background of the box to be. If you click on the icon in front of the text field, a colour selection window will open. Alternatively, you can also enter a hex value for your colour directly. |

### Dynamic product group

In this area, you can automatically assign the discount for a large number of products. This is done via a dynamic products.

| Field                     | Type     | Description                                                                                                                                              |
| ------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Dynamic product selection | Dropdown | Select a [dynamic product group](https://docs.shopware.com/en/shopware-6-de/Catalogues/Dynamicproductgroups) whose products are to receive the discount. |

{% hint style="info" %}
Since only products in the dynamic product group are discounted, this group must be assigned. \
Please use the preview mode of the dynamic product group in Shopware Administration to check whether the desired products are included.
{% endhint %}
