fond-of-spryker / category-extend-page-search
Extend Spryker Category-Page-Search Module
Package info
github.com/fond-of/spryker-category-extend-page-search
pkg:composer/fond-of-spryker/category-extend-page-search
1.0.0-RC1
2019-08-02 13:27 UTC
Requires
- php: >=7.1
- spryker/category-page-search: ~1.0.0
Requires (Dev)
- codeception/codeception: ^2.3
- mikey179/vfsstream: ^1.6
- phpro/grumphp: ^0.14
- sebastian/phpcpd: ^4.0
- spryker/code-sniffer: ^0.11
- spryker/development: ^3.6
This package is auto-updated.
Last update: 2026-02-23 16:58:37 UTC
README
Extend Spryker Category-Page-Search Module, inject plugins to extend PageMap.
Installation
composer require fond-of-spryker/category-page-search
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/CategoryExtendPageSearch/Communication/Plugin/PageMapExpander/CategoryIdPageMapExpanderPlugin
src/FondOfSpryker/Zed/CategoryExtendPageSearch/Communication/Plugin/PageMapExpander/CategoryKeyPageMapExpanderPlugin
src/FondOfSpryker/Zed/CategoryExtendPageSearch/Communication/CategoryExtendPageSearchCommunicationFactory::getCategoryPageMapExpanderPlugins