Import Modul Offers Customers and Products with CSV DE/EN

mp22468d20250725121215

**TheImporter** is a Dolibarr module for easy batch processing of CSV data to import proposals (including proposal lines) — optionally with sales representatives — as well as products and companies. It supports field mapping, progress display, and chunked (batch) import. Cron scripts are included.

29.00 €

  • Author Marco Gruszka
  • Module version 1.1.0
  • Release date 07/25/2025
  • Access to download and updates 1 year
  • How to contact support info@it-ticket-nrw.de
  • Compatibility Dolibarr V19+
  • Last update 11/14/2025 12:55 PM

More info

Features

  • Import of proposals, products, and companies from CSV files

  • Proposals including proposal lines

  • Optional import of sales representatives per customer

  • Flexible field mapping in the admin area

  • Batch processing of large files (e.g. 1000 rows per step)

  • Persistent storage of CSV data between import steps

  • Progress display and per-row error reporting

  • User-friendly interface with collapsible reports

  • Additional cron scripts for scheduled imports directly from Dolibarr

Installation

  1. Copy the module folder theimporter/ into the htdocs/custom/ directory of your Dolibarr installation.

  2. Ensure that the folder custom/theimporter/uploads/ is writable.

  3. Activate the module in Home → Setup → Modules within Dolibarr.

  4. Configure the column-to-field mapping under Setup → TheImporter.

Usage

  1. Navigate to TheImporter in the menu.

  2. Select the desired entity (Proposals, Products, or Companies).

  3. Upload a suitable CSV file.

  4. Start the import process. For large files, the import is processed in batches.

  5. Progress and any errors will be shown in the report section.

Requirements

  • Dolibarr >= 19.x recommended

  • PHP >= 7.4

  • Write permissions for htdocs/custom/theimporter/uploads/

Adjusting the Batch Size

You can configure the number of rows per import step in the module settings.

Cron Import

  • The automatic execution of Dolibarr jobs must first be enabled in the core system!!!
    Add the following to your crontab (crontab -e) (use your own dolibar install location!!!):

    */5 * * * * cd /var/www/html/dolibar && /usr/bin/php scripts/cron/cron_run_jobs.php 041197 doliadmin >> /var/www/documents/cron_run_jobs.php.log 2>&1

  • Then go to Admin Tools → Scheduled Jobs and create jobs as follows:

    Companies:

    • Job type: PHP script

    • Module: theimporter

    • File: DOLIPATH/custom/theimporter/scripts/run_cron_society.php

    • Instance: CronSoc

    • Method: run

    Products:

    • Job type: PHP script

    • Module: theimporter

    • File: DOLIPATH/custom/theimporter/scripts/run_cron_product.php

    • Instance: CronProduct

    • Method: run

    Proposals:

    • Job type: PHP script

    • Module: theimporter

    • File: DOLIPATH/custom/theimporter/scripts/run_cron_offer.php

    • Instance: CronOffer

    • Method: run