Product FPT
Pacemaker Import Pro provides the command import:products:fpt command for the Fixed product tax import.
- The individual parts of the file name must match the pattern as followed:
fixed-product-tax-import_20190608-114344_01.csv<IMPORT-DIRECTORY>/<PREFIX>_<FILENAME>_<COUNTER>.<SUFFIX>
- <IMPORT-DIRECTORY>:
-
is by default the location of your working directory
<ROOT-DIRECTORY>/var/pacemaker/import/-
The
var/pacemaker/importdirectory is not created after the installation by default
-
- PREFIX:
-
The
<PREFIX>of the import filename represents thefixed-product-tax-importarea. - DELIMITER (
_): -
The mandatory Delimiter (
_) for the import filename between<PREFIX>and<FILENAME>is a underscore (_). - FILENAME:
-
The filename is a autogenerated combination of date and time.
-
As a result, the filename look like
fixed-product-tax-import_20190608-114344_01.csv.
-
- DELIMITER (
_): -
The mandatory Delimiter (
_) for the structured filename between<FILENAME>and<COUNTER>is underscore (_). - COUNTER:
-
is a incremental number with two digits starting with
01. - SUFFIX (filename extension):
-
The Pacemaker Import Pro uses the
<SUFFIX>.csvas default for the import files.
|
.OK file:
Bunch import:
|
Your CSV file var/pacemaker/import/fixed-product-tax-import_20190608-114344_01.csv is now ready for import.
Columns
- The CSV file with the attributes for Magento 2 CE/EE consists of the following columns
| Column Name | Type | Example | Description |
|---|---|---|---|
|
|
Product SKU to import the fixed tax |
|
|
|
Website code from product |
|
|
|
FixedProductTax attribute code |
|
|
|
ISO2 country code |
|
|
|
Region code of the respective country or empty |
|
|
|
the new tax value |
|
website_code,sku,attribute_code,country_code,region_code,value
admin,24-WB01,fpt_tax,AT,TI,20.00
admin,24-WB01,fpt_tax,DE,,19.99