Install the Product feature + Dynamic Multistore
Edit on GitHubDynamic Multistore is currently running under an Early Access Release. Early Access Releases are subject to specific legal terms, they are unsupported and do not provide production-ready SLAs. They can also be deprecated without a General Availability Release. Nevertheless, we welcome feedback from early adopters on these cutting-edge, exploratory features.
This document describes how to install Dynamic Multistore + the Product feature.
Install feature core
Prerequisites
Install the required features:
NAME | VERSION |
---|---|
Spryker Core | 202410.0 |
Product | 202410.0 |
Set up behavior
Register the following plugins:
PLUGIN | SPECIFICATION | NAMESPACE |
---|---|---|
StoreProductCategoryListActionViewDataExpanderPlugin | Expands Overview of Category Filters page with infromation about stores. | Spryker\Zed\StoreGui\Communication\Plugin\ProductCategoryFilterGui |
src/Pyz/Zed/Product/ProductDependencyProvider.php
<?php
namespace Pyz\Zed\ProductCategoryFilterGui;
use Spryker\Zed\ProductCategoryFilterGui\ProductCategoryFilterGuiDependencyProvider as SprykerProductCategoryFilterGuiDependencyProvider;
use Spryker\Zed\StoreGui\Communication\Plugin\ProductCategoryFilterGui\StoreProductCategoryListActionViewDataExpanderPlugin;
class ProductCategoryFilterGuiDependencyProvider extends SprykerProductCategoryFilterGuiDependencyProvider
{
/**
* @return array<\Spryker\Zed\ProductCategoryFilterGuiExtension\Dependency\Plugin\ProductCategoryListActionViewDataExpanderPluginInterface>
*/
protected function getProductCategoryListActionViewDataExpanderPlugins(): array
{
return [
...
new StoreProductCategoryListActionViewDataExpanderPlugin(),
...
];
}
}
Verification
Make sure that the following data is displayed on the Product Category Filter page:
- Store
- Category
Thank you!
For submitting the form