What's new in version 1.4
Version 1.4.6
Version released on 30 April 2026. Version 1.4.6 of OnePageBasket brings compliance with the European right of withdrawal, major improvements to ticket and email handling, a high-performance cache system (APCu, file, memcached) to speed up your store, a complete reorganization of the administration, Dolibarr 23 compatibility, as well as many new content features. Here is the detail of all the new features.
Right of withdrawal (directive 2011/83/EU)
OnePageBasket is now compliant with the European directive on the consumer right of withdrawal.
- Legal notices and opt-in checkbox: the legal notice and the waiver checkbox for the right of withdrawal are displayed on the cart form and on the contract forms.
- Withdrawal period on contracts: a configurable withdrawal period is now managed on contracts. An "activate now" checkbox lets the customer authorize the immediate performance of the service by expressly waiving their right of withdrawal.
- Customer-side withdrawal form: if the customer did not activate their contract immediately, a withdrawal form is available from their dashboard throughout the legal period.
For setup and configuration, see the dedicated right of withdrawal documentation.
Dolibarr 23 compatibility
OnePageBasket is compatible with Dolibarr 23 (in addition to the already supported versions 18 to 22). No particular action is needed if you update your Dolibarr.
Modernized ticket emails
OnePageBasket can now replace Dolibarr's default ticket emails with modern, styled emails.
- New option: the
ONEPAGEBASKET_TICKET_REPLACE_CORE_MAILSsetting enables OPB emails in place of Dolibarr's native emails. - Modern HTML template: emails include a header with your company logo, a customizable accent color, a ticket tracking button and a professional signature.
- Automatic notifications: emails are sent automatically when a ticket is created, when an agent replies and when it is closed from the backoffice.
- Multilingual tracking headers: all OPB emails are enriched with a tracking identifier (trackid) and multilingual headers that make it easier to automatically attach replies to the right case.
- Cleaned email subjects: residual HTML tags are removed from email subjects.
- Blind copy (BCC): all OPB emails respect the
MAIN_MAIL_AUTOCOPY_TOsetting to send a blind copy to the address of your choice. - Fix: line breaks no longer appear as
\r\nin the body of emails.
To configure ticket emails, see the Support tickets page.
Automatic reminder on payment failure
A new option ONEPAGEBASKET_PAYMENT_KO_MAIL_ENABLED allows automatically sending a friendly email to the customer when an online payment fails.
- Reminder email: the customer receives an email inviting them to retry their payment, with a direct link to the Dolibarr payment page (
getOnlinePaymentUrl()). - Admin notification: an email is also sent to the administrator for follow-up.
- Anti-duplicate: an
OPB_PAYMENT_KOevent is recorded in the Dolibarr agenda and limits sending to a single reminder email per order, thus avoiding spamming the customer in case of repeated attempts.
Public ticket tracking link
A new OPB public link field appears on the ticket record in the Dolibarr backoffice. This field displays the public ticket tracking URL with a copy-to-clipboard button.
- Your agents can easily share the tracking link with customers, without having to build it manually.
- Customers can update the ticket's extra fields (extrafields) directly from the public interface.
Ticket improvements
- Paste from the clipboard: it is now possible to paste an image or file directly from the clipboard (Ctrl+V) when creating or replying to a ticket. A dialog box asks for a name and a description before sending, for better traceability of attachments.
- Thumbnails: ticket image attachments are now displayed as clickable thumbnails.
- Conditioned public pages: ticket-related routes are only active if the Dolibarr Ticket module is actually enabled, avoiding errors on installations that do not use this module.
Data cache
A new multi-driver cache system considerably reduces the number of database queries on the public store.
- Three drivers: APCu (preferred if available), memcached and file cache as fallback, compatible with the PHP opcache. You can choose the driver best suited to your hosting.
- Configurable TTL per family: you can adjust the caching duration for dictionaries, products, images and contracts independently.
- Anti-stampede mechanism: when the cache expires, a single process rebuilds the data while the others keep serving the stale data, thus avoiding load spikes.
- Generation counters: invalidation of category and product caches is instant (in O(1)), without costly file scans.
- Automatic invalidation by triggers: any modification of a product, category or contract in Dolibarr automatically invalidates the related cache.
- Administration interface: in the Advanced tab, you can enable or disable the cache, configure the TTLs per family, clear the cache manually and view the hit ratio.
- Cron task: an automatic purge script runs every 6 hours to clean up expired files and limit the size of the cache directory.
To configure the cache, go to the Advanced tab of the configuration.
Administration reorganization
The administration pages have been entirely reorganized into thematic tabs to ease navigation:
- Settings: store activation, default user, country, technical options (URL rewriting, captcha, debug).
- Appearance: theme, logo, favicon, footer, carousel, languages.
- Catalog: products, categories, stock management, version badges.
- Sales: cart, discounts, payment provider.
- Shipping: shipping configuration.
- Customer portal: authentication, documents, customer account, contracts, tickets, membership.
- Content: FAQ, trust badges, newsletter, reviews, UGC gallery, alerts.
- Web pages: static page management (creation, modification, deletion).
- UGC gallery: user-generated content gallery management.
- Services: prepaid, leasing, appointments.
- Tickets: ticket configuration (visible if the Dolibarr Ticket module is enabled).
- Advanced: data cache, webhooks, translations, extra fields.
- About: module information.
See the Configuration page for the detail of each tab.
New content features
FAQ
An accordion question/answer section is now available on your store. The JSON-LD schema is automatically generated to improve your Google ranking (FAQ rich snippets). See the FAQ documentation.
Trust badges
Add visual reassurance elements to your store: secure payment, fast delivery, guarantees, etc. These badges build your visitors' trust and can be customized from the administration. See the trust badges documentation.
Newsletter
A newsletter subscription form is integrated into your store. It includes anti-spam protection and a secure HMAC-signed unsubscription mechanism. See the newsletter documentation.
Contact form
You can insert a contact form into any static page thanks to the [contactform] shortcode. The form includes a honeypot anti-spam field and a send rate limit (3 messages per hour). See the web pages documentation.
Contracts by product category
Contract templates can now be attached to one or more product categories via the shop_categories field of the contract's advanced configuration. This allows displaying the right contract template to customers depending on the products concerned, without having to offer it for the whole catalog.
Static web pages
A WYSIWYG editor lets you create multilingual static pages. SEO is handled automatically: canonical URL, hreflang tags, Open Graph and sitemap integration. See the web pages documentation.
Customer photo gallery
Your customers can submit photos from the public interface. A moderation system lets you approve submissions before publication, and per-customer quotas prevent abuse. See the gallery documentation.
Technical improvements
- Local FontAwesome: FontAwesome icons are now served from the module's files, removing any dependency on an external CDN.
- Migration to BladeOne: the Blade template engine was migrated to BladeOne to reduce the number of Composer dependencies.
- PHPStan cleanup: replacement of
GETPOSTwithGETPOSTINTwhere appropriate, type fixes and static code quality improvements. - Strengthened access right checks: all controllers and public entry points were reviewed, with reinforced access checks and stricter validation of received data structures.
- Double-submission protection: sensitive forms (order, quote, contact, ticket) are protected by a
data-submit-onceattribute that disables the button after the first click, avoiding duplicate orders on slow connections. - Unified logs: all the module's
dol_syslogcalls are prefixedOPB, which makes filtering and reading Dolibarr logs easier (grep OPB dolibarr.log). - User documentation: a set of user documentation pages in French is now available in the module's
docs/users/directory.
Bug fixes
- Fix of line breaks displayed literally as
\r\nin ticket emails. - Fix of 500 errors on various pages caused by undefined variables or missing array indexes.
- Fix of the VAT rules applied on contract lines and recurring invoices.
- Fix of the contract-to-recurring-invoice creation flow.
- Fix of a missing
socidinitialization in some contexts. - Automatic switch to the homepage when the store is disabled, instead of displaying a routing error message.
- The data cache is now written in Dolibarr's official
dir_outputdirectory (multi-company compatible). - Removal of an orphan route and cleanup of internal URLs.
Update
To update to version 1.4.6:
- Replace the module files with those of the new version (via the Dolibarr module manager or manually in the
htdocs/custom/onepagebasket/directory). - Disable then re-enable the module in Dolibarr's Home > Setup > Modules page to apply any database changes.
- Clear the data cache if you had it enabled (Advanced tab of the configuration).