Skip to content

Add entity single select for mail templates sample showing label-property usage#2233

Open
Tim Körtgen (Timothylul) wants to merge 4 commits intoshopware:mainfrom
Timothylul:patch-2
Open

Add entity single select for mail templates sample showing label-property usage#2233
Tim Körtgen (Timothylul) wants to merge 4 commits intoshopware:mainfrom
Timothylul:patch-2

Conversation

@Timothylul
Copy link
Copy Markdown
Contributor

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

  • I reviewed affected links, code samples, and cross-references, including PageRef references where relevant.
  • I added or updated redirects in .gitbook.yaml if pages were moved, renamed, or deleted.
  • I updated .wordlist.txt (and sorted it) if spellcheck flags new legitimate terms.
  • Any required dependent changes in downstream modules have already been merged and published.
  • This pull request is ready for review.

Notes

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-select configured for mail_template.
  • Demonstrated using <label-property> to display the mail template description.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Isengo1989
Copy link
Copy Markdown
Contributor

Micha Hobert (Isengo1989) commented Apr 10, 2026

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants