Nzrt Dolibarr Bridge WordPress Plugin

Welcome to the NZRT Wiki Podcast. Today we’re looking at NZRT Dolibarr Bridge (WordPress Plugin).

So, what is this plugin? At its core, the NZRT Dolibarr Bridge is a WordPress plugin that connects your WordPress site to your Dolibarr ERP system. When someone fills out an intake form on your site, the plugin automatically creates a thirdparty record in Dolibarr via the REST API. It’s the bridge between your public-facing website and your back-office system, and it lives in the 000WOR repository under the filename nzrt-dolibarr-bridge.php.

Let’s talk about getting it deployed. The process is straightforward. You head into your WordPress Admin panel, go to Plugins, then Add New, and choose the Upload Plugin option. You upload that single PHP file, install it, and activate it. Once it’s active, you’ll find a new settings page under Settings, called Dolibarr Bridge. There are four things to configure there. First, the Dolibarr API URL, which points to the ERP system’s REST API endpoint. Second, your API Key — this is the agent DOLAPIKEY from the credentials file, so make sure you grab it from there rather than hardcoding anything. Third, there’s an optional toggle to enable Product Sync if you need it. And fourth, a Product Reference Prefix field where you can set something like NCS dash or ICS dash depending on which business unit the form is for. That’s all the setup.

Now, once the plugin is configured, how do you actually put a form on a page? This is where a shortcode comes in. A shortcode is a small tag you drop into the body of any WordPress page, and WordPress replaces it with the actual rendered content. In this case, the shortcode is the text nzrt underscore intake underscore form, wrapped in square brackets. You paste that into any page editor, publish the page, and visitors will see the intake form rendered there automatically. No additional coding required on the front end.

Let’s look at what happens when someone actually fills out and submits that form. The form is AJAX-powered, meaning the page doesn’t reload when the user hits submit. Instead, it sends the data quietly in the background to WordPress’s standard AJAX handler. The submission is nonce-protected, which is a WordPress security mechanism that verifies the request is legitimate and coming from the right place. Once WordPress receives it, the PHP handler kicks in and packages up the form data as JSON, then sends a POST request directly to Dolibarr’s thirdparties endpoint, including the API key in the request header.

It’s worth knowing exactly how the form fields map across to Dolibarr. There are five fields involved. The Name field maps to the name field in Dolibarr. Email maps to email. Phone maps to phone. If the user provides a Company name, that also maps to the name field and actually overrides whatever was in the Name field, so the company name takes priority. Finally, the Message field the user types gets stored in Dolibarr as a private note, tucked into the array options for that thirdparty record.

When the whole process succeeds, Dolibarr sends back a confirmation, and the user sees a thank-you message right there on the page without ever leaving it. Clean and seamless from their perspective.

One thing to keep in mind — this plugin handles the intake side only. What happens next inside Dolibarr, such as webhook triggers or follow-up automation after the thirdparty record is created, is covered separately in the WordPress Integration documentation under the Bridge Plugin and Webhook Trigger section. So if you’re troubleshooting or extending the workflow beyond the form submission itself, that’s where to look.

For staff handling NCS intake specifically, there’s a Standard Operating Procedure document called SOP-NCS-001 that walks through the full NCS intake flow in detail. If you’re onboarding someone or need a step-by-step procedural reference, that’s your document.

To summarise what you’ve learned today: the NZRT Dolibarr Bridge is a single-file WordPress plugin that wires your intake forms directly to Dolibarr’s REST API. You deploy it via the WordPress plugin uploader, configure four settings, drop a shortcode onto any page, and from that point on, every form submission automatically creates a thirdparty record in your ERP. Five fields come across — name, email, phone, company, and message — and it’s all secured with nonce validation and API key authentication on the Dolibarr side.

That’s it for this episode of the NZRT Wiki Podcast. Thanks for listening.