Inline editor
The inline editor integration adds an AI assistant toolbar button to the standard Shopware rich-text editor. Wherever you have a text editor — product description, category description, custom fields backed by HTML type, mail templates — you can highlight any text, click the AI assistant button, and pick an action from the dropdown menu.
Available actions
Section titled “Available actions”The AI assistant dropdown offers:
- Improve — rewrite the selection with a preset (same presets as Improve).
- Chat — refine the text iteratively: describe what to change, see the proposal, keep chatting until you’re happy. See Iterative improve chat below.
- Translate — translate the selection to one or more languages
- Unify formatting — apply a format spec to the selection
- Generate content — write fresh content for the field from model knowledge, a web search, or a per-product source URL
- Generate from URL — fetch one or more URLs and write a description from their content
A separate context menu action proposes fetch-domain config (CSS selectors) for a given URL — used by the URL fetcher when it can’t extract content from a new domain.
Iterative improve chat
Section titled “Iterative improve chat”Improve in the inline editor isn’t only one-shot. After the model returns a first proposal, you can keep iterating: type a follow-up like “Less salesy” or “Mention the wood species” and the modal will re-run the rewrite with your feedback woven in. Each turn is driven by the inline.improve_chat template (a chat variant of inline.improve) and the chat history is saved alongside the other AI assistant chat sessions so you can reopen the conversation later.
How to use
Section titled “How to use”- In any rich-text editor in the admin, select the text you want to operate on (or place the cursor where you want the result).
- Click the AI assistant button on the toolbar.
- Pick an action from the dropdown menu.
- Configure the action in the modal (preset, target languages, custom instructions, URL list for Generate from URL, etc.).
- Click Run AI. Each target language gets its own tab with a preview and a Compare button showing the diff.
- Tick the Apply switch on the languages you want, edit anything you want, then click Apply. The selected text is replaced inline. Click Save on the surrounding form to persist.
Configuration
Section titled “Configuration”Each inline action is backed by a prompt template: inline.improve, inline.improve_chat, inline.translate, inline.unify, inline.describe_from_url, inline.suggest_fetch_domain_config. There’s also a shared inline.plain_text_format template appended to the other inline system prompts when the target field is short plain text (e.g. a product name) — it forces a concise single-line title instead of an expanded description. You can edit each template the same way as any other prompt — see Editing prompts.
You can also save your favourite settings (preset, languages, custom instructions, format spec) as an inline profile so the modal opens pre-filled next time. See Inline profiles.