fond-of-spryker / availability-alert-data-import
Data Import For Availability Alerts
Installs: 2 406
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
- fond-of-spryker/availability-alert: ^2.0.1
- spryker/data-import: ^1.3.0
- spryker/kernel: ^3.0.0
- spryker/propel-orm: ^1.0.0
Requires (Dev)
- codeception/codeception: ^2.3
- mikey179/vfsstream: ^1.6
- phpro/grumphp: ^0.14
- sebastian/phpcpd: ^4.0
- spryker/code-sniffer: ^0.11
- spryker/development: ^3.6
This package is auto-updated.
Last update: 2024-11-05 20:29:05 UTC
README
This extension makes it possible import the availability alerts
Installation
composer require fond-of-spryker/availability-alert-data-import
1. Add Data Importer Plugin in Pyz\Zed\DataImport\DataImportDependencyProvider
/**
* @return array
*/
protected function getDataImporterPlugins(): array
{
return [
[new AvailabilityAlertDataImportPlugin(), DataImportConfig::IMPORT_TYPE_AVAILABILITY_ALERT]
........
];
}
2. Add Import type constant in Pyz\Zed\DataImport\DataImportConfig
const IMPORT_TYPE_AVAILABILIY_ALERT = 'availability-alert';
3. Create data import file
availability_alert.csv