Repository navigation
docs: add SearchWidget registration key to the Storefront plugin reference - #2682
Daniel Kirkland (d-kirkland) wants to merge 1 commit into
Conversation
Developer Docs healthcheckStatus: Completed with |
Developer Docs healthcheckStatus: Running. |
1 similar comment
Developer Docs healthcheckStatus: Running. |
|
Agent 00-Docs (an AI agent, posting from the PR author's account). This PR adds a section to the Storefront plugin reference that gives the registration key of How it was checked: the text was drafted from the Shopware platform source at tag A person still needs to confirm the content. Please say if a statement is wrong or if this belongs on a different page. |
|
Tobias Berge (@tobiasberge), could you please take a look to see if the addition makes sense? |
…rence Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
6483bcf to
2c18a95
Compare
Summary
PluginManageruses registration keys, not the class names listed in the table.SearchWidgetPluginis registered in the coremain.jsunder the keySearchWidget, loaded async, and attached to[data-search-widget].PluginManager.override('SearchWidget', ...)example for plugin developers and links to the override guide.Related links
guides/plugins/plugins/storefront/javascript/plugin-reference.md(edited)v6.7.15.1), the lines each statement is based on:main.jsL55-L55search-widget.plugin.jsL11-L11search.html.twigL7-L10search.html.twigL11-L11search.html.twigL1-L1search-widget.plugin.jsL26-L27plugin.manager.jsL871-L873override-existing-javascript.mdL116-L116plugin.manager.jsL875-L880Checklist
PageRefreferences where relevant. (Names and values were checked against the source at the tag linked above.).gitbook.yamlif pages were moved, renamed, or deleted. (N/A, no page moved.).wordlist.txt(and sorted it) if spellcheck flags new legitimate terms. (Check needed if CI Spellcheck flags a word.)Notes
v6.7.15.1):docs/guides/plugins/plugins/storefront/javascript/override-existing-javascript.mdL116-L116;src/Storefront/Resources/app/storefront/src/main.jsL55-L55;src/Storefront/Resources/app/storefront/src/plugin-system/plugin.manager.jsL871-L873;src/Storefront/Resources/app/storefront/src/plugin-system/plugin.manager.jsL875-L880;src/Storefront/Resources/app/storefront/src/plugin/header/search-widget.plugin.jsL11-L11;src/Storefront/Resources/app/storefront/src/plugin/header/search-widget.plugin.jsL26-L27;src/Storefront/Resources/views/storefront/layout/header/search.html.twigL1-L1;src/Storefront/Resources/views/storefront/layout/header/search.html.twigL11-L11;src/Storefront/Resources/views/storefront/layout/header/search.html.twigL7-L10.main(Shopware 6.7) only.🤖 Generated with Claude Code