Help Desk MX
v1.2.32

Migration from Magento 1 to Magento 2

Below are examples of scripts that can be used in transferring data from Mirasvit Help Desk MX for Magento 1 to Mirasvit Help Desk MX for Magento 2. To use these scripts, you need the help of a PHP developer. The scripts may contain bugs which may not transfer all necessary data. Therefore, you may need to change them to meet your needs. Migration service is not a part of our support service, so if you need our team's help, you will need to buy a migration service.

Click on the names of scripts below to download:

How to perform Migration

Follow these steps to correctly perform the migration:

  1. Run a standard Magento 2 migration, and make sure that your customers and their orders were transferred from your M1 store to M2;
  2. Ensure that Help Desk MX for Magento 2 is installed on your M2 store.
  3. Place mirasvit_helpdesk_m1_export.php at the root of your M1 store, and run it either:
    • From your browser by opening URL http://store_m1.com/mirasvit_helpdesk_m1_export.php, or
    • From the SSH/Console: navigate to your store's root and run the command php -f mirasvit_helpdesk_m1_export.php
  4. If the script returns successfully, the file helpdesk_export.xml will be created at the store's root with all your data. Transfer it to the root of your M2 store;
  5. Place mirasvit_helpdesk_m2_import.php at the root of your M2 store, and run it either:
    • From browser by opening URL http://store_m1.com/mirasvit_helpdesk_m2_import.php, or
    • From SSH/Console: navigate to your store's root and run the command php -f mirasvit_helpdesk_m2_import.php
  6. Check the migrated data.
  7. When the migration is completed, remove both migration scripts.

Migration from Freshdesk to Mirasvit Helpdesk Magento 2

  1. Place the import tickets.json file to the root folder of your store.
  2. Read comments at the beginning of the script and do the required changes for your store.
  3. Place mirasvit_helpdesk_m2_import.php to the root of your M2 store, and run it either:
    • From browser by opening URL http://store_m1.com/freshdesk_migration.php, or
    • From SSH/Console: navigate to your store's root and run the command php -f freshdesk_migration.php
  4. Check the migrated data.
  5. When the migration is completed, remove both migration scripts.

Troubleshooting

In some cases, imported scripts can crash at the stage of a timeout or memory overloading errors (due to a large quantity of data). In this case, all you have to do is restart the import script by reloading the browser page. It will skip the previously uploaded data and proceed to the last unprocessed record.