Magento 2 Kowal Import Orders Module
Description / Magento 2 Kowal Import Orders Module
MAGENTO 2 · ORDERS · DATA MIGRATION
Move order history between Magento stores.
Kowal Import Orders
Import orders directly from the source database, along with supported customer, payment, and invoice data. Run the process from the admin panel or the terminal.
Database → database · Panel and CLI · Related data
HOW IT WORKS IN PRACTICE
01 · Connect the source database
Set the connection and table prefix in the configuration.
02 · Define the scope
Provide the entity_id and choose a single import or a series.
03 · Track the process
Monitor progress and logs, and verify the migrated data.
What does your store gain?
Explore the module features, use cases, and settings.
Key module features
- Complete order import from another Magento 2 store based on
entity_id. - Support for importing a single order (
-t) or an entire series of orders. - Copying customer, address, payment, and invoice data.
- Admin interface for running imports and tracking logs.
- AJAX support – real-time import with progress preview.
- Mechanisms that prevent duplication of customers and their addresses.
Why choose Kowal Import Orders?
- Time savings – instead of moving orders manually, the script does it automatically.
- Precise data copying – the module imports all essential order information.
- Easy operation – import can be launched from the Magento 2 admin panel.
- Compatibility – works on Magento 2.4.x and is optimized for large databases.
- Data security – built-in mechanisms that eliminate duplication-related errors.
How does the module work?
- Enter the order
entity_idin the admin panel from which copying should begin. - Select the import mode: a single order or an entire series of orders.
- Start the process and track its progress in real time.
- Orders will be copied together with related data.
Who is this module for?
- Magento 2 stores transferring data between different system versions.
- Companies that integrate multiple Magento stores and need order synchronization.
- Magento 2 administrators who want to automate order transfers without developer involvement.
Support and updates
- The module is regularly updated and tested for performance and compatibility with the latest Magento 2 versions.
- We offer professional technical support and the option to customize the module to individual needs.
Automate order import and increase the efficiency of your Magento 2 store today!
Connection, CLI, and import scope
The Kowal → kowal_import_orders → db_connection configuration includes the host, database name, user, password, and table prefix. The CLI command is kowal_importorders:importorders with the required entity_id argument. The -t option limits the import to the specified order.
The tested implementation covers order tables and their grids, items, payments, addresses, and invoices with items, grid, and comments. It also supports customers and guest orders. Records keep the source identifiers, so database, prefix, and existing data compatibility must be checked before migration. Mechanisms for checking existing customers and addresses reduce duplication; they do not replace verification of identifier collisions.
Installation via Composer
Package kowal/module-importorders, module Kowal_ImportOrders. After configuring access to the Kowal repository, install the package, enable the module, update Magento, and clear the cache. In production, include compilation and static content deployment according to your store process.
From configuration to results
1. Connect the source database
Set the connection and table prefix in the configuration.
2. Define the scope
Provide the entity_id and choose a single import or a series.
3. Track the process
Monitor progress and logs, and verify the migrated data.
Sales history in a new store
When migrating Magento, select the starting order identifier and import a series together with related records. First, check the compatibility of data and identifiers from both stores on a copy of the environment.
Streamline order transfers
Want to adapt the module to your store? Ask about a Kowal Import Orders implementation and discuss the configuration or required extensions.
More Information
| Theme compatibility | Luma / Blank, KOWAL |
|---|
Module Installation Instructions
Kowal Import Orders Module Installation Guide
kowal/module-importorders
Main Functionalities
The kowal/module-importorders module enables importing orders between two Magento 2 instances by copying data directly between databases.
- Order import based on
entity_id. - Option to run import for a single order (
-t). - Copying related customer, address, payment, and invoice data.
- Admin panel for running imports and monitoring progress.
- AJAX support and real-time log display.
Installation
Installation via Composer
You will receive Composer repository access credentials, customer email address and license token, by email after purchase. They are also available in the customer panel after logging in at kowal.store. Replace TWOJ_EMAIL_KLIENTA with your account email address and TWOJ_TOKEN with the received token. Run the commands in the Magento root directory.
composer config repositories.kowal composer https://repo.kowal.store
composer config http-basic.repo.kowal.store 'TWOJ_EMAIL_KLIENTA' 'TWOJ_TOKEN'
composer require kowal/module-importorders
php bin/magento setup:upgrade
php bin/magento cache:flushConfiguration
The module is configured through the config.xml file, where connection details for the external database must be provided.
<config> <default> <kowal_import_orders> <db_connection> <host>your_db_host</host> <dbname>your_db_name</dbname> <username>your_db_user</username> <password>your_db_password</password> </db_connection> </kowal_import_orders> </default></config>Specifications
The module implements import logic in the Kowal\ImportOrders\Model\ImportOrders model, supporting the following tables:
sales_ordersales_order_gridsales_order_itemsales_order_paymentsales_order_addresssales_invoicesales_invoice_gridsales_invoice_itemsales_invoice_comment
Usage
Import from CLI
php bin/magento kowal:import-orders <entity_id> [-t]Examples:
- Import all orders from
entity_id= 10000:
php bin/magento kowal:import-orders 10000- Import only one order (
-tmeans single-order mode):
php bin/magento kowal:import-orders 10000 -tImport from the admin panel
The module includes an admin page where you can:
- Enter
entity_id. - Run the import via AJAX.
- Track progress and logs in real time.
Summary
The kowal/module-importorders module is a simple tool for migrating orders between Magento 2 stores. It supports both CLI and the admin interface, providing full control over the import process.
If you have questions or need support, contact us!