Support tickets
Overview
OnePageBasket gives your customers a complete support interface, in the colours of your shop, connected to the Dolibarr Tickets module. Every request is a real Dolibarr ticket: your team handles it in the backoffice as usual, and the customer follows it on the shop.
The customer reaches a ticket in two ways:
- Without an account: through the link received by email, or with the tracking number and email address. This is the case of a visitor who never ordered.
- With an account: from the Tickets entry of the customer area, which lists every ticket of the customer's company.
From the ticket page, the customer reads the support replies, adds a message, attaches files or screenshots, reads the full message history, and closes or reopens the request.
Prerequisites
- The Dolibarr Tickets module is enabled.
- The Display a link to your ticket management platform option is enabled in the Customer Area tab of the setup.
- The One Page Basket public address is filled in the Settings tab: the tracking links sent by email and the public link shown in the backoffice start from this address.
The Support link then shows in the shop header for visitors who are not signed in. For your signed-in customers, add the Tickets entry to the portal menu (see Customer portal).
The support center
The Support page is the entry point for visitors. It shows your welcome message and three choices:
- Create a ticket: opens the new request form.
- My tickets: lists every request made with an email address.
- Track a ticket: opens a request directly from its tracking number.
If you sell after-sales services, a button can lead to the product to buy (see Configuration). When the shop FAQ is enabled, its first questions show below these choices, with a link to the full FAQ page: customers often find their answer without opening a ticket.

Creating a ticket
Creating a ticket takes two steps.
Step 1: contact details and request type
The customer types a last name, a first name and an email address (required), then picks the type of the request among the ticket types active in Dolibarr. If you linked extra fields to this type, they show below the list of types (see Extra fields). When the ticket captcha is enabled, the customer copies the security code before going on.

Tip
A link to /ticket/new?type=CODE preselects a request type: handy for a "Report a problem" button on a page of your site.
Step 2: describing the request
The customer writes the subject and the message, picks a category and a severity if needed, and attaches files. If the Dolibarr Knowledge management module is enabled, this step suggests above the form up to five published articles in the language of the customer, to read before sending the request.

On Create ticket, the customer lands on the ticket page and receives a confirmation email that holds:
- the ticket reference;
- the tracking number, to find the request again;
- a Track my ticket button that opens the ticket page directly.
When a notification address is filled in the Settings tab, your team also receives an email with the message of the customer and a link to the ticket in Dolibarr.
Link to the thirdparty
- A signed-in customer creates the ticket for the customer's company.
- For a visitor, the ticket is never linked to an existing thirdparty from the typed address: nothing proves this address belongs to the visitor. Your team links the ticket to the right thirdparty from Dolibarr if needed. If the address belongs to no thirdparty nor contact and the Automatically create thirdparty if unknown option is enabled, a new customer thirdparty is created.
Finding a ticket again
The customer has three ways:
- The link of the email of confirmation or reply, which opens the ticket page without typing anything.
- Track a ticket: the customer types the tracking number and the email address. If one of them is wrong, a message asks to check the information, without saying which one.
- My tickets: with the email address and the tracking number of one of the tickets, the customer sees the list of every request made with this address, with its status and date. The tracking number is the proof: the email address alone is not enough.


The ticket page
The ticket page shows the reference and status of the request, your tracking message if one is set, then the subject, category, type, severity and creation date. The content is split into tabs.
Your response
The tab open by default shows the last support message, then the reply form: a rich text editor (bold, lists, links, tables) and a field to attach files. The Send message button adds the reply to the ticket. A file can be sent alone, without text.

Problem description
The first message of the customer, as written at creation.
Message history
Every message of the ticket, from the newest to the oldest, grouped by day. Each message shows its author, Support or You, and its time. The private notes of your team never show there: only the messages meant for the customer are displayed.

Technical details
This tab only shows when extra fields are set for the ticket type. The customer completes or corrects this information at any time, then clicks Save.
Attachments
The list of every file of the ticket, with its name, date and size. Images open in the browser, other files download.

Attaching files and screenshots
Attachments
The Attachments field takes several files at once. For each chosen file, a window offers to add a short description, for instance "carrier invoice": it names the file and makes it easy to recognise in the list. The customer can skip it with No description.
Only the extensions allowed in the setup are accepted. Files that could run code in a browser or on the server (web pages, scripts, programs, SVG images) are always refused, whatever the setting. If a file goes over the maximum size the server accepts, a message tells the customer, who can send a lighter file.
Pasting a screenshot
In the reply editor, the customer pastes an image directly with Ctrl+V (or Cmd+V on a Mac), for instance a screenshot. A window asks what the screenshot shows, then the image is sent at once: it goes into the message and joins the attachments of the ticket. A thumbnail shows below the editor; its cross removes the image from the message and deletes the file.

Pasting takes JPEG, PNG, GIF and WebP images.
Closing or reopening a ticket
When the request is solved, the customer clicks Close ticket. The reply form goes away and a Reopen ticket button replaces it: a customer who reopens the request puts it back as waiting for the support.
A signed-in customer does the same from the ticket page of the customer area. Your team receives an email at every closing and every reopening made by the customer, on the notification address of the Settings tab.
From the customer area
A signed-in customer finds the tickets in the Tickets entry of the customer area. Each column has its filter: reference, subject text, category, status, tickets created from a date and tickets closed on a given day. The list shows fifty tickets per page. The message you set for this list shows above it.

The create button opens the same two-step form, without the contact details: the ticket is created for the signed-in customer. A ticket page offers the same tabs as the public page: response, description, history, technical details and attachments.
Emails sent
To the customer
- When a ticket is created from the shop: the confirmation email with the tracking number and the tracking button.
- When your team replies: the Dolibarr email, or the OnePageBasket one if you enable it (see below), which also tells the customer when the ticket is closed.
<!-- Anchor referenced from tickets.md and portail-client.md --> <a id="tickets-emails-opb"></a>
OnePageBasket emails for tickets
By default, Dolibarr sends plain text ticket emails. The Replace Dolibarr ticket emails with OnePageBasket emails option, in the Ticket tab of the setup, replaces them with HTML emails in the colours of your shop, with your company header, a ticket tracking button and your signature, for:
- the creation of a ticket, from the backoffice or from the shop;
- the reply of an agent, when the send by email box is ticked;
- the closing of the ticket.
The Dolibarr customer emails are then disabled automatically, to avoid duplicates. All these emails follow the blind copy address of Dolibarr (MAIN_MAIL_AUTOCOPY_TO).
To your team
The notification address of the Settings tab receives an email for every new ticket created from the shop, every message of the customer, every closing and every reopening. Each email holds a link to the ticket in Dolibarr.
Backoffice side
Public ticket link
The ticket card in Dolibarr shows the Public ticket link field: the address of the ticket page on your shop, with a Copy link button. Your team sends it to the customer through another channel (phone, chat) so that the customer reaches the request without typing anything.
Links of the Dolibarr emails
If you keep the Dolibarr emails, fill the Public ticket interface URL setting with the address of your shop followed by /ticket/, for instance https://shop.example.com/ticket/. The tracking links of the Dolibarr emails then lead to the ticket page of the shop rather than to the Dolibarr public interface.
Security and privacy
- The tracking number is the key of the ticket. Anyone who holds the tracking link or the tracking number opens the ticket, exactly as with the Dolibarr public interface. Advise your customers not to forward these emails.
- When the link also holds an email address, it must match the one of the ticket.
- The private notes of your team never show to the customer.
- The content of the messages is cleaned when displayed: a script slipped into a message does not run.
- A signed-in customer only reaches the tickets of the customer's company.
- The confirmation email of a visitor does not repeat the message: the typed address is not verified and the message must not reach someone else.
<!-- Anchor referenced from tickets.md and portail-client.md --> <a id="tickets-configuration"></a>
Configuration
Ticket tab
The Ticket tab of the setup shows when the Dolibarr Tickets module is enabled.
| Option | Description |
|---|---|
| Enable captcha on public tickets | Asks for a security code at step 1 of the creation |
| Automatically create thirdparty if unknown | Creates a customer thirdparty for a visitor whose address belongs to no thirdparty nor contact |
| Replace Dolibarr ticket emails with OnePageBasket emails | Sends the OnePageBasket HTML emails instead of the Dolibarr ones (see OnePageBasket emails) |
| Public ticket interface URL | Dolibarr setting: address of the shop followed by /ticket/ so that the Dolibarr emails lead to the shop |
| Allowed file extensions for ticket attachments | Comma separated list, without the dot; empty for the default list (images, PDF, texts, logs, archives, office documents, emails) |
Messages on ticket creation page section:
| Option | Description |
|---|---|
| Message to display above the ticket list (dashboard) | HTML text shown above the ticket list of the customer area |
| Welcome message | HTML text shown on the support center and at the top of the creation form |
| Message on ticket tracking page | HTML text shown when the customer comes back to the ticket, to ask for the useful information |
| Link to SAV product to purchase | Shows a button to this product on the support center and the creation form |
| SAV button label | Text of this button, for instance "Buy 1 hour of support" |
<!-- Anchor referenced from tickets.md and portail-client.md --> <a id="tickets-champs-complementaires"></a>
Extra fields
The Extrafields configuration per type table lists the Dolibarr ticket extra fields, for each ticket type. Tick Enabled to offer a field to customers on this request type, and Required to demand it at creation. Enabled fields show at step 1 of the creation, then in the Technical details tab of the ticket, where the customer can update them.
Other useful settings
- Settings tab: the One Page Basket public address (tracking links) and the email address that receives the shop notifications.
- Customer Area tab: the ticket activation option and the Tickets entry of the portal menu.
- Content tab: the FAQ, whose first questions show on the support center.
- Dolibarr dictionaries: the ticket types, categories and severity levels offered to customers.