valantic-spryker / price-product-customer-group-data-import
This module has demo data and importer for price products for customer groups.
1.0.0
2023-08-01 15:22 UTC
Requires
- php: >=7.3
- spryker/currency: ^3.0.0
- spryker/customer-group: ^2.6
- spryker/data-import: ^1.3.0
- spryker/kernel: ^3.30.0
- spryker/price-product: ^2.0.0 || ^4.0.0
- spryker/product: ^6.0.0
- spryker/store: ^1.0.0
- valantic-spryker/price-product-customer-group: ^0.10.0
Requires (Dev)
This package is auto-updated.
Last update: 2025-01-09 13:20:21 UTC
README
This module has demo data and importer for price products for customer groups.
Install package
composer req valantic-spryker/price-product-customer-group-data-import
Register plugins
src/Pyz/Zed/DataImport/DataImportDependencyProvider.php
use ValanticSpryker\Zed\PriceProductCustomerGroupDataImport\Communication\Plugin\PriceProductCustomerGroupDataImportPlugin;
...
protected function getDataImporterPlugins(): array
{
return [
...
new PriceProductCustomerGroupDataImportPlugin(),
];
}
src/Pyz/Zed/Console/ConsoleDependencyProvider.php
use ValanticSpryker\Zed\PriceProductCustomerGroupDataImport\PriceProductCustomerGroupDataImportConfig;
...
protected function getConsoleCommands(Container $container): array
{
$commands = [
...
new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . PriceProductCustomerGroupDataImportConfig::IMPORT_TYPE_PRICE_PRODUCT_CUSTOMER_GROUP),
];
}