Magento (Magento Open Source, Adobe Commerce and the Mage-OS distribution) is a heavy platform to host and to keep up to date. HikaShop reads its database and moves the catalog, the customers and the orders to Joomla or WordPress, so you can leave Magento without exporting anything.
It is one of the shops HikaShop can import: see all the import options.
Before you start
Supported versions: Magento 2.4 and its forks (tested on Mage-OS, which uses the tables of Magento 2.4).
The Magento database must be on the same MySQL server as the site which receives HikaShop.
Make a backup of your database and your files. The import adds to what is already in HikaShop and never deletes anything, but a backup costs nothing.
What is imported
- Tax classes and tax rates, by country
- Categories, with their hierarchy
- Products: simple, virtual and downloadable ones, with their price (the special price when it is running), stock, weight, texts and tax class
- Configurable products, as products with variants whose options are the configurable attributes, each variant with its price and stock
- Images of the gallery
- Customers and their addresses
- Cart price rules with a coupon code, with their dates and limits
- Orders, with their lines, addresses, payment method, shipping and discount amounts
Not imported:
- Bundle and grouped products, custom options, the catalog price rules, and the payment and shipping methods
Steps
- In the HikaShop back office, open Products > Import and choose Import from another shop.
- Pick Magento in the list of shops.
- Choose what to import with the boxes of "What to import": orders also need the customers and the catalog, they are imported with them.
- Fill in the settings (see below) and click Start the import.
- Keep the page open until the message "The import is finished" appears. A step which fails stops the import and can be tried again or skipped.
The settings
- Database name: the database of Magento (empty if it is the one of this site).
- Table prefix: empty most of the time, see db > table_prefix in app/etc/env.php.
- Folder of the shop: the absolute path of Magento, to copy the images from pub/media/catalog/product.
- Redirect the old addresses (Joomla only): tick it to send the visitors of the old addresses to the new pages, see the questions below.
After the import
- Set up your payment and shipping methods.
- Check a configurable product: its simple products are the variants.
Questions
Do the customers keep their password?
Yes. Magento keeps a salt with the hash of each password, and HikaShop moves both: the customer logs in with the same password, which is then stored as a regular Joomla password. This is done by the "Authentication - Imported shop passwords" plugin, which the import turns on. It reads the hashes of Magento 2 (argon2id, sha256 and md5).
Where is the table prefix?
In app/etc/env.php of Magento, under db, table_prefix. It is empty on most installations.
Which store view is read?
The default values (all store views). The texts of a store view translation are not imported.
Are the grouped and bundle products imported?
Yes, as products: the products of a grouped or bundle product become its related products, and it takes the price of the cheapest of them. HikaShop has no product made of other products with a quantity for each, so the choice of the quantities is not kept.
Can I run the import again?
Yes. What was already imported is left alone and only what is new is added: the products, customers and orders created on the old shop since the last import. You can import once to test and again when you go live. A change made on the old shop to something already imported is not copied.
The old addresses of the products
With "Redirect the old addresses" ticked (Joomla only), each product and category gets a redirection from every address in the URL rewrites of Magento, the old ones included, to its new page. It only works when the new site answers on the same domain as the old shop. The redirections are in Components > Redirects of Joomla, where they can be edited or removed; the import turns on the plugin "System - Redirect" which uses them.
Back to the import page, which also covers the CSV import and the import of orders. Something else went wrong? See solving problems.

