Version Shopware 6.4.20
Mein benutzerdefiniertes Plugin per Override SwProductDetail
導(dǎo)入了一個(gè)組件。導(dǎo)入的組件需要 SwProductList
的 filterOptions
.
Wie lese ich die Liste von SwProductList
in der obigen Komponente?
// myComponent.js ... const fnFilterOptions = Shopware.Component.getComponentRegistry().get('sw-product-list').computed.listFilterOptions; const filters = fnFilterOptions.call(this) ...