> For the complete documentation index, see [llms.txt](https://docs.hubyte.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hubyte.de/dropshipping-bestellung-an-lieferanten-herstelle/english-documentation/text-snippets.md).

# Text snippets

All texts that the plugin outputs in the **storefront** – field labels, placeholders, hints and error messages – are stored as **text snippets** (snippets). You can adjust these texts without touching the source code and override them individually per language or sales channel.

***

## Editing text snippets

You can find and edit the text snippets in the Shopware administration under:

**Settings > Snippets**

1. Select the desired **language** (snippet set) at the top.
2. Search for the **snippet key** (see the tables below) or for part of the text.
3. Enter your own text and save.

> **Note:** The plugin's default value is preserved. Using the "Reset" column you can revert a custom change back to the default at any time.

***

## Address fields (street number)

These snippets relate to the additional **street number** field that is added to the storefront for the [DHL integration](/dropshipping-bestellung-an-lieferanten-herstelle/english-documentation/dhl-integration.md).

| Snippet key                                     | Default text (EN)                                       |
| ----------------------------------------------- | ------------------------------------------------------- |
| `dropshipping.streetLabel`                      | Street                                                  |
| `dropshipping.streetPlaceholder`                | Enter street ...                                        |
| `dropshipping.streetNumberLabel`                | Street Number                                           |
| `dropshipping.streetNumberPlaceholder`          | Enter street number ...                                 |
| `dropshipping.tooltipAddressInfo`               | Enter street number to \`Street number\` field!         |
| `dropshipping.missingShippingAndBillingAddress` | Missing street number from Shipping and Billing Address |
| `dropshipping.missingShippingAddress`           | Missing street number from Shipping Address             |
| `dropshipping.missingBillingAddress`            | Missing street number from Billing Address              |

***

## Minimum order value

This snippet contains the notice shown in the cart/checkout when a supplier's [minimum order value](/dropshipping-bestellung-an-lieferanten-herstelle/english-documentation/minimum-order-value.md) is not reached.

| Snippet key                           | Default text (EN)                                                                                                                   |
| ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `checkout.hue-supplier-minimum-value` | To be able to continue the order, you must purchase from supplier %name% a minimum of %minimumValue%, Current value: %currentValue% |

### Available placeholders

You can use the following placeholders in this snippet. They are replaced with the respective values at runtime:

| Placeholder      | Meaning                       |
| ---------------- | ----------------------------- |
| `%name%`         | Name of the affected supplier |
| `%minimumValue%` | Required minimum order value  |
| `%currentValue%` | Currently reached cart value  |

> **Note:** Keep the placeholders when adjusting the text – otherwise the values will no longer be displayed.
