GLS Magento 2 (EN) : 4. Import/Export

4. Import/Export

4.1 Export to WinExpé

The module allows to export orders files to the GLS WinExpé software.

The exports configuration is done in Stores > Configuration > Sales > GLS Advanced Setup (check 2.2.2 Import/export Configuration).

This feature is reachable through a new menu entry “GLS IMPORT/EXPORT > Export orders”.

In the configuration, the  “Export Folder” parameter have to be well set.

The export screen lists all orders whose shipping method is a GLS one. It’s possible to either download or export one or several orders. To do this, you have to check orders that you want to export, then choose in the “Actions” menu what you want to do.

The “Download” option will download the generated file on your computer.

The “Export” option will put the generated file in the directory set in configuration (Stores > Configuration > Sales > GLS Advanced Setup > Import / Export Configuration).

You have to create a FTP access on this directory and configure it in WinExpé so the software can automatically recovers the files. For any question about the WinExpé software configuration, please get in touch with your GLS IT contact.

4.2 Import from WinExpé

The module allows to import files from the GLS WinExpé software, to save tracking numbers in Magento.

The imports configuration is done in Stores > Configuration > Sales > GLS Advanced Setup (check 2.2.2 Import/export Configuration).

This feature is reachable through a new menu entry “GLS IMPORT/EXPORT > Import tracking numbers”.

In the configuration, the “Import folder” parameter have to be well set.

In the import screen you will find a button to import files that are in the folder set in the configuration (Stores > Configuration > Sales > GLS Advanced Setup > Import / Export Configuration). With these files, the tracking numbers will be added to the matching orders, then files will be deleted.

You have to create a FTP access on this directory and configure it in WinExpé for the software can automatically upload the files to import.

4.3 Automatic Import/Export

It’s possible to automate orders import and export. It can be configured in Stores > Configuration > Sales > GLS Advanced Setup (check 2.2.2 Import/export Configuration).

To enable this, you have to switch on the “Active” parameter in configuration (Stores > Configuration > Sales > GLS Advanced Setup > Import / Export Configuration > Active) and fill  up the wanted frequency in minutes (Stores > Configuration > Sales > GLS Advanced Setup > Import / Export Configuration > Frequency).

Then, Magento will export orders that have the defined status (Stores > Configuration > Sales > GLS Advanced Setup > Import / Export Configuration > Status of orders to export) and import orders at the defined frequency.

Still need help? Contact Us Contact Us