fond-of-spryker / category-page-search-expander
Expand Spryker Category-Page-Search Module
Package info
github.com/fond-of/fond-of-spryker-category-page-search-expander
pkg:composer/fond-of-spryker/category-page-search-expander
1.0.0
2021-08-12 13:24 UTC
Requires
- php: >=7.1
- spryker/category-page-search: ^1.4.0
Requires (Dev)
This package is auto-updated.
Last update: 2026-03-12 20:11:37 UTC
README
Extend Spryker Category-Page-Search Module, inject plugins to extend PageMap.
Installation
composer require fond-of-spryker/category-page-search-expander
After that register the new CategoryNodeDataPageMapBuilder into your SearchDependencyProvider
protected function getSearchPageMapPlugins()
{
return [
// ...
new CategoryNodeDataPageMapBuilder(),
// ...
];
}
There are already to examples to show how it works, take a look into:
src/FondOfSpryker/Zed/CategoryPageSearchExpander/Communication/Plugin/PageMapExpander/CategoryIdPageMapExpanderPlugin
src/FondOfSpryker/Zed/CategoryPageSearchExpander/Communication/Plugin/PageMapExpander/CategoryKeyPageMapExpanderPlugin
src/FondOfSpryker/Zed/CategoryPageSearchExpander/Communication/CategoryPageSearchExpander::getCategoryPageMapExpanderPlugins