Add entity single select for mail templates sample showing label-property usage#2233
Add entity single select for mail templates sample showing label-property usage#2233Tim Körtgen (Timothylul) wants to merge 4 commits intoshopware:mainfrom
Conversation
Add explanation for storing selected mail template ID.
There was a problem hiding this comment.
Pull request overview
Adds a documentation sample demonstrating how to configure sw-entity-single-select for mail_template entities using label-property, clarifying how labels can be derived from a specific entity field in config.xml.
Changes:
- Added a new example section showing
sw-entity-single-selectconfigured formail_template. - Demonstrated using
<label-property>to display the mail templatedescription.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
guides/plugins/plugins/plugin-fundamentals/add-plugin-configuration.md
Outdated
Show resolved
Hide resolved
|
Tim Körtgen (@Timothylul) thx for the PR. The docs state that there are 5 possible types, you added a second one for : <component name="sw-entity-single-select"> - there is one for sw-entity-single-select already. Anything in particular that you felt was missing instead? Trying to avoid duplicates and grow the list of examples that have the same component type. We can still add it, as it gives extra information for label-property, but I am curious if some info was maybe unclear. |
…ation.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Add entity single select for mail templates sample showing label-property usage
Summary
Adds a sample on how to use the label-property field within the config.xml as I could not find any documentation showing how to use this.
Related links
https://developer.shopware.com/docs/guides/plugins/plugins/plugin-fundamentals/add-plugin-configuration.html
Checklist
PageRefreferences where relevant..gitbook.yamlif pages were moved, renamed, or deleted..wordlist.txt(and sorted it) if spellcheck flags new legitimate terms.Notes