Installing Bulk Importer/Exporter¶
Upload the files¶
Use one of the two methods.
Copy the folder
- Unpack the download.
-
Copy the
BulkImporterfolder into your Paymenter installation so that the main class is at:extensions/Others/BulkImporter/BulkImporter.php
Upload the zip in the admin area
- In the admin area, open Extensions, then Available Extensions.
- Switch to the Ready to Install / Upload tab.
- Click Upload Extension, select the zip file and confirm. Paymenter accepts zip files up to 10 MB and moves the extension to
extensions/Others/BulkImporter.
Install and enable¶
- Open Extensions, then Available Extensions, tab Ready to Install / Upload.
- Find Bulk Importer Pro in the list and click Install, then confirm. Paymenter opens the extension's settings page.
- Switch on Enabled and save.
Installing and enabling both run the extension's database migrations. You do not need to run php artisan migrate yourself. As a fallback, the extension also runs its migrations when it loads and the ext_bulk_import_runs table is missing.
The migrations create two tables:
| Table | Content |
|---|---|
ext_bulk_import_runs |
One row per import or export run: options, mapping, status, row counts, summary |
ext_bulk_import_row_logs |
One row per processed import row: row number, status, message and row data |
After enabling, the entry Bulk Importer appears in the admin navigation group Automation.
First-time setup¶
- On the extension's settings page, check Max rows per import run and Stop on first error. See Configuration.
- Give the admin roles that should use the extension the permissions View bulk importer, Create import runs and Delete import runs. Roles with all permissions (
*) need no change. See Configuration. - Make sure the web server user can write to
storage/app/tmp/bulk-importer. Uploaded import files are stored there, export files in the subfolderexports.
Updating¶
- Upload: upload the new zip with Upload Extension. Paymenter replaces the folder.
- Manual copy: replace the
extensions/Others/BulkImporterfolder with the new version.
The extension has no separate upgrade step. To run new migrations after either method, switch off Enabled, save, switch it on again and save. Enabling runs the migrations. This does not delete data.
Disabling¶
Switch off Enabled on the extension's settings page and save. The tables, all runs and all files stay in place.
Uninstalling¶
- Open the extension's settings page under Extensions.
- Click Uninstall Extension and confirm.
Warning
Uninstalling drops both tables, ext_bulk_import_row_logs and ext_bulk_import_runs. The run history is deleted. Records that were imported into Paymenter stay.
Uninstalling does not delete files. Remove storage/app/tmp/bulk-importer yourself if you no longer need the uploaded and exported files, then delete the extensions/Others/BulkImporter folder.