Price Import
This documentation is not for the latest version Pacemaker version. Click here to switch to version 1.2 |
The price import is one of the predefined pipelines (What is a pipeline?), which you can use after installing Pacemaker. There are sample files, which can be used as a template for your own data files or for testing purposes (see Run your first predefined import jobs). On this page, you will read how it works, how to configure, and how to customize this pipeline.
Pipeline Definition
The import pipeline contains the following steps:
Stage | Step | Description |
---|---|---|
Prepare |
move_files |
Move import files to the working directory of the current pipeline |
Transformation |
price_transformation |
This step has a dummy executor in default and is designed in order to customize for mapping and transformation purpose |
Pre-Import |
index_suspender_start |
Activates delta index suspending in order to avoid cron based re-indexing during the import |
Import |
price_import |
Update price data |
Post-Import |
index_suspender_stop |
Disable suspending of delta indexers |
Configuration
In Magento’s backend (admin-ui) you’ll find settings for the price import under following path:
Stores > Configuration > TechDivision > Pacemaker Import > Price Import
![config price import](../_images/config-price-import.png)
Configuration | Description | Default Value |
---|---|---|
General Settings > Source Directory |
Defines the source directory for import files. This directory will be observerd by Pacemaker in oder to intialize a import pipeline. This setting is for all pacemaker imports. |
|
Price Import > Enable Price Import Pipeline |
Active toggle for the source directory observer for price import. |
Yes |
Price Import > File Name Pattern |
Regular expression, which defines the source file name for source directory observer. |
|
Import Files Observer (How it works)
Source directory observer works in the same way like for Catalog Import. Please refer this page in order to understand how initialization of new import pipelines work.