fond-of-spryker / shipment-table-rate-data-import
Data Import For Shipping Table Rates
Installs: 8 429
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
- fond-of-spryker/shipment-table-rate: ^3.0.0
- spryker/country: ^3.2.0
- spryker/data-import: ^1.4.0
- spryker/store: ^1.9.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-10-29 04:53:38 UTC
README
This extension makes it possible import the shipping table rates
Installation
composer require fond-of-spryker/shipment-table-rate-data-import
1. Add Data Importer Plugin in Pyz\Zed\DataImport\DataImportDependencyProvider
/**
* @return array
*/
protected function getDataImporterPlugins(): array
{
return [
[new ShipmentTableRateDataImportPlugin(), DataImportConfig::IMPORT_TYPE_SHIPMENT_TABLE_RATE]
........
];
}
2. Add Import type constant in Pyz\Zed\DataImport\DataImportConfig
const IMPORT_TYPE_SHIPMENT_TABLE_RATE = 'shipment-table-rate';
3. Create data import file
shipment_table_rate.csv
Example:
free_threshold,price,country,store,postcode
100,2000,US,STORE_US,XXXXX
100,2500,US,STORE_US,X*