Version Shopware 6.4.20
My custom plugin imports a component by overriding SwProductDetail
. Imported components require the filterOptions
of SwProductList
.
How to read the list of SwProductList
in the above component?
P粉0051054432023-09-19 17:59:45
// myComponent.js ... const fnFilterOptions = Shopware.Component.getComponentRegistry().get('sw-product-list').computed.listFilterOptions; const filters = fnFilterOptions.call(this) ...