Replace PrestaShop’s default order reference with your own format: random or sequential body, prefix and suffix with shortcodes (date, customer, city, payment). Smart rules apply different patterns by cart value, country, product or customer group. Safe sequential counter, BO preview on real orders, JSON backup. For PrestaShop 1.6–9.










The Custom Order Reference Generator PRO module transforms your PrestaShop order numbering from random to professional. It empowers you to create sequential, smart, and informative order references using custom prefixes, suffixes, and dynamic shortcodes that embed real-time data like year, country, or payment method. The advanced Smart Rules Engine allows conditional reference generation based on criteria such as cart value, specific products, customer groups, or chosen payment modules. This module enhances operational efficiency, improves customer communication, and provides immediate order insights, ensuring a streamlined and professional order management process for your store.
The default order references are random, confusing letters (like XJKSYTWQ). They are hard to dictate over the phone and convey zero information. This module lets you build professional, sequential, or smart order numbers using shortcodes, prefixes, suffixes, and conditional IF/THEN rules.
When a customer calls your support line and says "My order number is X-J-K... wait, is that an S or a 5?", you are losing time. When your warehouse team looks at a packing slip, a random string tells them nothing about the order.
A professional order reference (like 2026-US-10045 or B2B-9941) solves this. It builds trust, prevents mistakes, and can instantly tell you the year, the customer's country, or if they are a VIP client.
This module gives you a powerful drag-and-drop rule builder. You can set a global format for everyone, but then create specific overrides. For example: if the customer is in the B2B group, use the prefix "B2B-". If the order goes to the UK, add "-UK" at the end. The possibilities are endless.
Choose between a collision-safe sequential counter (e.g., 1000, 1001, 1002) or a random string. You can define the body length, character set (digits, letters, mixed), and even exclude ambiguous characters (like 'O' and '0').
Inject real-time data into your prefix or suffix. Use shortcodes to automatically add the current year, the customer's country code, the payment method, or even the customer's initials directly into the reference.
Don't guess how your reference will look. Enter an existing Order ID in the back office, and the module will generate a live preview using that exact order's data (customer, address, cart total) to expand your shortcodes.
The true power of the PRO version lies in its Smart Rules Engine. You can create multiple condition blocks. The system checks them from top to bottom. If an order matches the conditions (IF), it applies your specific overrides (THEN) for the prefix, suffix, length, or generation mode.
| Condition Type | What you can check (IF) |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Shortcodes can be used in the Prefix and Suffix fields (both globally and inside Smart Rules). They are dynamically replaced with real order data when the reference is generated.
| Shortcode | What it inserts |
|---|---|
| Date & Time | |
| {Y} / {y} | Full 4-digit year (e.g., 2026) / 2-digit year (e.g., 26). |
| {m} / {d} | Month number (01–12) / Day of the month (01–31). |
| {H} / {i} / {s} | Hour (00-23) / Minutes (00-59) / Seconds (00-59). |
| Order & Cart Data | |
| {id_cart} / {id_carrier} | The internal Cart ID / The selected Carrier ID. |
| {payment} | Payment module technical name (uppercased, max 8 chars). |
| {currency} / {lang} | Currency ISO code (e.g., USD, EUR) / Language ISO code (e.g., en, fr). |
| {total0} / {weight0} | Cart total tax-included (rounded to integer) / Cart weight in kg (rounded). |
| {shop} / {rulesn} | Shop ID (for multistore) / Number of cart rules (discounts) applied. |
| Customer & Address | |
| {id_customer} | Customer ID (0 for guests). |
| {firstname} / {lastname} | First/Last name slug (letters/digits only, uppercased, max 4 chars). |
| {initials} / {company} | First letter of first & last name / Company name slug (max 4 chars). |
| {country} / {state} | Country ISO code (e.g., US, GB) / State/region ISO code (max 3 chars). |
| {city} / {postcode} | City slug (max 5 chars) / Postcode (uppercased, max 6 chars). |
| {phone4} / {dni4} | Phone (last 4 chars) / Tax/ID number (max 4 chars). |
Built natively for PrestaShop. Safe overrides, optimized performance, and easy to migrate.










This module automates the generation of professional, sequential, or smart order references. It optimizes communication and data retrieval by embedding key order information directly into the reference. Leveraging smart IF/THEN rules, it automates complex numbering logic based on various order parameters, significantly streamlining store processes and accounting integration.
By generating professional, easy-to-understand order references, this module significantly improves customer trust and streamlines support interactions. This enhanced shopping experience fosters loyalty, encourages repeat purchases, and ultimately drives increased sales.
Leveraging 15 years of PrestaShop expertise, this module transforms generic order references into clear, professional, and smart identifiers. We understand the critical need for seamless communication, accounting integration, and robust data tracking. Its collision-safe, sequential counters and dynamic rules reflect deep insight into long-term e-commerce operational demands across all PrestaShop versions.
This module provides extensive customization for order references, enabling you to build professional, sequential, or smart numbers. Leverage dynamic shortcodes, prefixes, suffixes, and a powerful IF/THEN rules builder to personalize references based on cart, customer, or product data, perfectly fitting your unique store requirements.
The module's clean integration, leveraging standard PrestaShop overrides, ensures robust compatibility. This approach facilitates developer interaction, allowing for safe extensions and custom integrations using native PrestaShop mechanisms, without limiting platform adaptability.
The module ensures your custom order references remain compliant and functional across PrestaShop versions. A perpetual license grants unlimited usage. Enjoy free updates for one year, ensuring continued compatibility and access to new features like enhanced shortcodes and smart rules. Renewals are deeply discounted.