Magento 2 ERP Integration via CSV and SFTP
SKU: ERPCSVSFTP1
- orders as CSV via SFTP to the ERP
- import products, prices and stock from CSV files
- mapping editor, schedule and archiving in the admin
- error log with line number and error file
Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.
Magento 2 ERP integration: connect shop and merchandise system without manual work
The Magento 2 ERP integration from Mironsoft connects your shop to an external merchandise system through CSV files and SFTP, the route that almost every ERP supports. Orders go out as a file, products, prices and stock come in as a file. A mapping defines which column belongs to which Magento field, a schedule starts the runs and an error log shows every line that did not fit. The admin interface uses Alpine.js without an extra library.
Orders out
New orders are placed on the SFTP server as a CSV file with header and items.
Products, prices, stock in
Files from the ERP update master data, prices, tier prices and quantities in the shop.
Secure exchange
SFTP with password or key, connection test and separate directories per data type.
Mapping editor
File columns are assigned to Magento fields, with fixed values and simple transformations.
Schedule
Each data type has its own cron schedule, plus a manual run in the admin.
Error log
Faulty lines with number and reason, plus an error file for correction in the ERP.
Why Magento 2 ERP integration removes typos and double work
Many merchants keep their goods in a merchandise system and sell in the shop. As long as the two stay separate, somebody retypes orders, maintains prices twice and reconciles stock by hand. That costs time, and every mistake turns into an oversell or a wrong invoice. What merchants look for is Magento 2 ERP integration that works without expensive custom development.
Files over SFTP are the lowest common denominator: almost every ERP exports and imports CSV. Whoever connects this format cleanly does not have to change the ERP and needs no programming interface. What matters is reliability, traceability and a log that shows errors before the customer notices them.
Magento 2 ERP integration: hand orders to the ERP via CSV and SFTP
The module exports new orders as a CSV file after your trigger, for example after payment received. Structure, column names, separator and character set are set to match the ERP, with one line per item or one line per order. The file name follows a pattern with date and order number. The file lands in the outbound directory of the SFTP server, and the export is noted on the order so nothing is handed over twice.
- Trigger, columns, separator and character set adjustable
- One line per item or per order
- Note on the order against double handover
Magento 2 ERP integration: import products, prices and stock from the ERP
The module checks an inbound directory for new files and reads them in. For each data type you decide whether new products are created or only existing ones updated, whether empty columns overwrite values and how prices in decimal format are recognised. Stock files update quantities, price files normal prices and tier prices. Large files are processed in blocks so that the run does not burden the shop. After the run the module moves the file into an archive.
- Create and update, or update only
- Decimal format, empty columns and character set adjustable
- Processing in blocks, archiving after the run
Mapping editor of Magento 2 ERP integration: assign columns to fields
In the mapping editor you drag the columns of the sample file onto Magento fields, such as article number to SKU or net price to price. For fields without a column you set fixed values, for multi-value fields a separator inside the cell. Simple transformations such as upper case, trimming or replacing characters are possible. Every mapping can be tested with a sample file without changing the shop and exported to keep staging and live identical.
- Columns to fields, fixed values and transformations
- Test run with a sample file without write access
- Export the mapping and load it on other environments
Schedule, error log and feedback in Magento 2 ERP integration
Each data type runs on its own schedule, orders every five minutes for example, prices once at night. The log lists every run with duration and result, faulty lines appear with line number and reason. You can feed an error file with the rejected lines back to the ERP. With more errors than set, the run stops and informs your team. Status files from the ERP, for example on shipping or invoice, set the order status in the shop and trigger the shipping email.
- Schedule per data type, manual run in the admin
- Error log with line number and error file
- Status feedback from the ERP sets the order status
Where Magento 2 ERP integration is needed in daily shop work
Typical setups in which the ERP stays the leading system.
Merchandise system as leading system
Products, prices and stock are maintained in the ERP and reach the shop by file. Magento 2 ERP integration replaces manual creation.
Order handling in the warehouse
The warehouse works in the ERP. Every order appears there as a file, the shipping status goes back into the shop.
Several price lists
Tier and customer-group prices come from the ERP without anybody entering them again in the shop.
Changing the system
When moving to a new ERP you change only the mapping in Magento 2 ERP integration, not the shop.
Magento 2 ERP integration: without and with the module
The difference to manual retyping and to one-off imports.
| Topic | Without the module | With ERP CSV SFTP Interface |
|---|---|---|
| Orders | Retype or export manually | Automatically as CSV to the SFTP server |
| Master data | Double maintenance in ERP and shop | Import from the ERP on a schedule |
| Stock | Reconcile by hand, overselling possible | Stock file at short intervals |
| Errors | Unnoticed until the customer complains | Log with line number and error file |
| Flexibility | Programming for every change | Adjust the mapping in the admin |
How we set up Magento 2 ERP integration for you
The process after you commission it.
Briefing
You tell us your ERP, the data types you want and sample files with columns and character set.
Installation
We install the module, set up the SFTP connection and create the Magento 2 ERP integration for your directories.
Mapping
We assign columns to fields and check the files in a test run before anything is written.
Testing
We test Magento 2 ERP integration with sample orders, prices and stock levels and check error log and archiving.
Handover
Your team gets an introduction to schedule, log and manual run.
Delimitation from Magento as ERP, inventory sync and dropshipping
The Magento-as-ERP solutions turn the shop itself into the leading system for stock, purchasing and orders. Magento 2 ERP integration, by contrast, is meant for businesses that keep their ERP and connect the shop to it. The inventory sync only reads quantities from a file or a supplier feed, and the dropshipping module forwards items to suppliers.
All modules can be combined. The admin interface runs on Alpine.js in the Hyvä theme, without jQuery and without Knockout.
No download — personal setup instead
ERP CSV SFTP Interface is not listed here as a ready-made download file for self-installation. The purchase is a service commission: we get in touch after the purchase, install the module in your shop and agree on file formats, mapping and schedules together with you.
Frequently asked questions
Everything important about file formats, mapping, schedule and the purchase process.
How can I connect an ERP to Magento 2 via CSV?
Which data can the interface transfer?
Why SFTP instead of a programming interface?
How do I define the mapping?
How often does Magento 2 ERP integration run?
What happens with faulty lines?
Can I set separator and character set?
Does Magento 2 ERP integration work with Hyvä?
Is personal data transferred?
Can I download and install the module myself?
Magento 2 ERP Integration – Mironsoft ERP CSV SFTP Interface