Install the Multi-store Products feature
Edit on GitHubBy default abstract products are available in all stores. This feature provides additional configuration when:
- you have multiple stores
- you want to manage the appearance of abstract products per store.
Prerequisites
To prepare your project to work with multi-store abstract products:
- Update/install
spryker/collector
to at least 6.0.0 version. You can find additional help for feature migration in Upgrade the Collector module. - Update/install
spryker/touch
to at least 4.0.0 version. You can find additional help for feature migration in _Upgrade the Touch module. - Update/install
spryker/store
to at least 1.3.0 version. - Update/install
spryker/product
to at least 6.0.0 version. You can find additional help for feature migration in Upgrade the Product module. - If you want to have Zed Admin UI support for the multi-store abstract product management:
- Update/install
spryker/productmanagement
to at least 0.10.0 version. You can find additional help for feature migration in Upgrade the ProductManagement module. - Override
Spryker\Zed\Store\StoreConfig::isMultiStorePerZedEnabled()
in your project to returntrue
. This will enable the store management inside the Product Information Management (PIM) Zed Admin UI.
Example override
<?php
namespace Pyz\Zed\Store;
use Spryker\Zed\Store\StoreConfig as SprykerStoreConfig;
class StoreConfig extends SprykerStoreConfig
{
/**
* @return bool
*/
public function isMultiStorePerZedEnabled()
{
return true;
}
}
- You should now be able to use the Product Information Management (PIM) Zed Admin UI to manage abstract product store relation.
Check out our Legacy Demoshop implementation for implementation example and idea.
Thank you!
For submitting the form