spryker-demo/product-archiving-feature
最新稳定版本:1.0.0
Composer 安装命令:
composer require spryker-demo/product-archiving-feature
包简介
Product archiving [feature]
README 文档
README
Installation
Install feature
composer require spryker-demo/product-archiving-feature
Add SprykerDemo namespace to configuration
$config[KernelConstants::CORE_NAMESPACES] = [
'SprykerDemo',
...
];
Wire the table action expander plugin
# src/Pyz/Zed/ProductManagement/ProductManagementDependencyProvider.php
use SprykerDemo\Zed\ProductArchivingGui\Communication\Plugin\ProductManagement\ProductArchivingProductVariantTableActionExpanderPlugin;
use SprykerDemo\Zed\ProductManagement\ProductManagementDependencyProvider as SprykerDemoProductManagementDependencyProvider;
class ProductManagementDependencyProvider extends SprykerDemoProductManagementDependencyProvider
{
...
/**
* @return array<\SprykerDemo\Zed\ProductManagement\Dependency\Plugin\ProductVariantTableActionExpanderPluginInterface>
*/
protected function getProductVariantTableActionExpanderPlugins(): array
{
return [
new ProductArchivingProductVariantTableActionExpanderPlugin(),
];
}
}
Inherit project class ProductManagementCommunicationFactory from the corresponding Spryker Demo one
# src/Pyz/Zed/ProductManagement/Communication/ProductManagementCommunicationFactory.php
use SprykerDemo\Zed\ProductManagement\Communication\ProductManagementCommunicationFactory as SprykerDemoProductManagementCommunicationFactory;
class ProductManagementCommunicationFactory extends SprykerDemoProductManagementCommunicationFactory
{
...
}
Build Propel classes
console propel:install
Generate Backoffice translations
console translator:generate-cache
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2025-05-22