Customizing texts – Low Stock & Discount Badge
Customizing texts
The low stock badge's text is a regular Shopware snippet and can be customized without any code changes.
Snippet
| Key | Default text (DE) | Placeholder |
|---|---|---|
futiStockBadge.lowStock | "Nur noch %count%" | %count% |
Path via the Administration
- Settings → Shop → Snippets
- Open the snippet set for the desired language (or create your own snippet set)
- Search for
futiStockBadge.lowStock - Adjust the text and save
The %count% placeholder must remain unchanged in the customized text. It's replaced at runtime with the current available stock. If you accidentally remove it, the badge won't display a number anymore.
Multi-language support
Since this is a regular Shopware snippet, the text can be adjusted independently per snippet set, and therefore per language. Create a dedicated snippet set for each language active in your shop, or adjust the existing one — Shopware's standard mechanism applies fully here; the plugin doesn't bring its own additional translation management.
Example wordings
- "Nur noch %count% verfügbar" ("Only %count% left in stock")
- "Nur noch %count% Stück auf Lager" ("Only %count% units left in stock")
- "Beeilung — nur noch %count%" ("Hurry — only %count% left")
- English: "Only %count% left"
Test a changed wording afterwards on a product whose current available stock is below the configured threshold.
Was this page helpful?
Support
Rented Plugins (Shopware Store)
For support with plugins rented from the Shopware Store, please open a support ticket in your Shopware account.
Create Shopware Ticket