PrestaShop Custom Order Reference Generator Pro

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.

Główne zdjęcie produktu: Custom Order Reference Generator Pro
49.99 €

Galeria

Smart Custom Order Numbers Pro

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.

Module version: 1.2.0
Shop versions:
9.x8.x1.7.x
Works with ThirtyBees: No
Translations:
This module: Custom Order Reference Generator Pro is fully translated into language: Slovenčina (sk)This module: Custom Order Reference Generator Pro is fully translated into language: Magyar (hu)This module: Custom Order Reference Generator Pro is fully translated into language: Čeština (cs)This module: Custom Order Reference Generator Pro is fully translated into language: Srpski (rs)This module: Custom Order Reference Generator Pro is fully translated into language: Français (fr)This module: Custom Order Reference Generator Pro is fully translated into language: 中文 (zh)This module: Custom Order Reference Generator Pro is fully translated into language: Русский (ru)This module: Custom Order Reference Generator Pro is fully translated into language: Norsk (no)This module: Custom Order Reference Generator Pro is fully translated into language: Български (bg)This module: Custom Order Reference Generator Pro is fully translated into language: Íslenska (is)This module: Custom Order Reference Generator Pro is fully translated into language: Polski (pl)This module: Custom Order Reference Generator Pro is fully translated into language: Slovenščina (si)This module: Custom Order Reference Generator Pro is fully translated into language: हिन्दी (hi)This module: Custom Order Reference Generator Pro is fully translated into language: Lietuvių (lt)This module: Custom Order Reference Generator Pro is fully translated into language: Svenska (sv)This module: Custom Order Reference Generator Pro is fully translated into language: Українська (ua)This module: Custom Order Reference Generator Pro is fully translated into language: 日本語 (ja)This module: Custom Order Reference Generator Pro is fully translated into language: Ελληνικά (el)This module: Custom Order Reference Generator Pro is fully translated into language: Eesti (et)This module: Custom Order Reference Generator Pro is fully translated into language: Deutsch (de)This module: Custom Order Reference Generator Pro is fully translated into language: Nederlands (nl)This module: Custom Order Reference Generator Pro is fully translated into language: Dansk (da)This module: Custom Order Reference Generator Pro is fully translated into language: English (en)This module: Custom Order Reference Generator Pro is fully translated into language: Română (ro)This module: Custom Order Reference Generator Pro is fully translated into language: Italiano (it)This module: Custom Order Reference Generator Pro is fully translated into language: Bahasa Indonesia (id)This module: Custom Order Reference Generator Pro is fully translated into language: Latviešu (lv)This module: Custom Order Reference Generator Pro is fully translated into language: Português (pt)This module: Custom Order Reference Generator Pro is fully translated into language: Hrvatski (hr)This module: Custom Order Reference Generator Pro is fully translated into language: Suomi (fi)This module: Custom Order Reference Generator Pro is fully translated into language: Español (es)

Take control of your order numbers.
Custom Order Reference Generator PRO

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.

Sequential Counters
Smart IF/THEN Rules
Live Real-Order Preview

Why custom order references matter

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.

Immediate benefits

  • Clear communication:
    Sequential numbers (1001, 1002, 1003) are infinitely easier for customers and staff to read and type.
  • Data at a glance:
    Embed the year, month, payment method, or destination country directly into the order number using shortcodes.
  • Accounting friendly:
    Align your store's order numbers with your ERP or accounting software requirements.

Core capabilities

Sequential or Random

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').

Dynamic Shortcodes

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.

Live Real-Order Preview

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.

Smart Rules Builder (IF / THEN)

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 TypeWhat you can check (IF)
Cart & Order Value
  • Cart total (min/max): Apply a rule if the order is above or below a specific amount.
  • Cart weight (min/max): Target heavy or light shipments.
  • Cart units (min/max): Based on the total quantity of items.
  • Cart rules (min/max): Based on how many discount codes were used.
Products & Categories
  • Specific Products: Rule triggers if the cart contains ANY or ALL of the selected products.
  • Product Reference: Triggers if any product reference matches your input.
  • Categories: Triggers if products belong to ANY or ALL selected categories.
  • Manufacturers: Triggers based on the brand of the products in the cart.
Customer & Localization
  • Customer Groups: Perfect for B2B, VIP, or wholesale order distinctions.
  • Specific Customers: Target individual high-value clients.
  • Country & Language: Change the reference based on the delivery country or chosen language.
  • Currency: Trigger rules based on the currency used for checkout.
Checkout & Other
  • Payment Module: e.g., Add "-PP" if paid via PayPal, or "-COD" for Cash on Delivery.
  • Carrier: Differentiate orders shipped via DHL, FedEx, or local pickup.
  • Cart Type: Target virtual-only carts (downloadable products) or gift-wrapped carts.
  • Shop ID: Crucial for Multistore setups to separate order streams.

Available Shortcodes

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.

ShortcodeWhat 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).

Technical specification & compatibility

Built natively for PrestaShop. Safe overrides, optimized performance, and easy to migrate.

PrestaShop Versions: Fully compatible with PrestaShop 1.6.x, 1.7.x, 8.x, and 9.x.
Clean Integration: Uses standard PrestaShop overrides (`Order::generateReference()`) safely. Fallbacks to default behavior if disabled.
Backup & Restore: Export your global settings and complex Smart Rules to a JSON file. Import them easily on another store or staging environment.
Collision-Safe: The sequential counter is stored safely in the database configuration, ensuring no duplicate order references are generated.
49.99 €

Module Gallery

Why choose our module
Custom Order Reference Generator Pro?

Optimization and Automation

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.

Increased Sales

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.

15 years of experience

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.

Extensive Customization

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.

Open Source Code

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.

License and Updates

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.