Upgrade the ProductListSearch module
Edit on GitHubUpgrading from version 1.* to version 2.*
The main goal of ProductListSearch
2.x.x is to add support of Concrete Products search introduced in ProductPageSearch
3.x.x.
Estimated migration time: ~1h
To complete the migration, follow the steps below:
- Update
spryker/product-page-search
^3.2.0 - Follow the steps from Upgrade the ProductPageSearch module.
- Update
spryker/product-list-search
to ^2.0.0 - Generate transfers:
vendor/bin/console transfer:generate
- Enable plugins in
\Pyz\Zed\ProductPageSearch\ProductPageSearchDependencyProvider
.
<?php
/**
* @return \Spryker\Zed\ProductPageSearchExtension\Dependency\Plugin\ProductConcretePageMapExpanderPluginInterface[]
*/
protected function getConcreteProductPageMapExpanderPlugins(): array
{
return [
new ProductConcreteProductListPageMapExpanderPlugin(),
];
}
/**
* @return \Spryker\Zed\ProductPageSearchExtension\Dependency\Plugin\ProductConcretePageDataExpanderPluginInterface[]
*/
protected function getProductConcretePageDataExpanderPlugins(): array
{
return [
new ProductConcreteProductListPageDataExpanderPlugin(),
];
}
Thank you!
For submitting the form