PrestaShop Marketing & Promotions

Bulk Generate Unique Coupon Codes for PrestaShop 8 & 9: Single-Use Codes and Campaign Tracking

Thousands of unique codes, and the revenue each campaign brings in.

  • 30-day refund
  • 12 months updates
  • 24h support

An influencer campaign, a flyer in every parcel, a win-back email to inactive customers: each operation needs its own codes, unique and traceable. PrestaShop only creates cart rules one at a time. This module generates a batch of 100 or 100,000 hard-to-guess codes in the format you choose, sharing the same rules, through a six-step wizard. It then distributes them by email, as a printable PDF with QR codes, through a direct link or as a CSV export. Each batch has its own statistics page: codes used, valid orders, revenue excluding tax, discount granted and share of new customers.

At a glance
  • 1 to 200,000 unique codes per batch, created through a six-step wizard with a live preview
  • Codes drawn by a cryptographically secure generator, with a security meter and a database unique index
  • Anonymous codes, or personal codes for customer groups or an email list
  • Email sending in the customer's language, PDF with QR codes and a direct link that applies the code to the cart
  • Statistics per batch and per channel: redemption rate, orders, revenue, new customers
PrestaShop 1.7.8 to 9 Up to 200,000 codes per batch Secure codes QR codes Email sending CSV export
  • PrestaShop Certified Agency 2026
  • PrestaShop Expert Certification — Core Skills
  • PrestaShop Expert, level 3

Built by a PrestaShop Certified Agency

www.datafirefly.com/en/
Bulk Generate Unique Coupon Codes for PrestaShop 8 & 9: Single-Use Codes and Campaign Tracking
v2.0.0 · updated 2026-11-04
Bulk Generate Unique Coupon Codes for PrestaShop 8 & 9: Single-Use Codes and Campaign Tracking €149.00
What it does

The short version.

01

A wizard that guides every batch

Six short steps: campaign, codes, discount, conditions, restrictions and review. A summary shows a sample code, the discount, the validity and the security level as you type. Nothing is created before the last step, and errors take you back to the right step.

02

Codes nobody can guess

Codes come from a cryptographically secure generator, are checked against every existing discount code and protected by a unique index. A format needs at least 6 random characters and 10,000 combinations per code, and the direct link blocks anyone who tries too many unknown codes.

03

Native cart rules, not a parallel system

Each code is a standard PrestaShop cart rule: it works in the cart, on the invoice and with other modules. Percentage or amount, free shipping, free gift, product, category or brand restrictions, minimum amount, groups, countries and shops. Exclusive codes by default, so two codes of a batch are never stacked.

04

The result of every campaign

A batch page shows codes used, valid orders, revenue excluding tax, discount granted, revenue to discount ratio, share of orders from new customers, orders per day and the most used codes. The dashboard compares channels: email, SMS, influencers, print, store.

The long version

Everything you'd want to know before you install.

A detailed look at how Bulk Generate Unique Coupon Codes for PrestaShop 8 & 9: Single-Use Codes and Campaign Tracking works, why we built it the way we did, and the thinking behind the features above.

§ 01

Why unique codes instead of one shared code

A code like WELCOME10 shows up on deal sites the next day, and nobody can tell which channel produced which order. A unique code per recipient limits leaks, allows single use and ties every sale to a campaign. You still need a way to create 5,000 of them without spending the day in Catalog > Discounts.

§ 02

One batch, shared rules, six steps

The wizard asks for the campaign, the code format and quantity, the discount, the conditions and the restrictions, then shows a review before anything is created. The module creates the matching native cart rules, tagged [DFBC#id] in their description. A personal code is linked to one customer account and only works for that customer. Codes are exclusive by default, so a customer cannot stack two codes of the same batch.

§ 03

Codes that cannot be guessed

Short codes on a flyer are an invitation to try random combinations. Codes are drawn by a cryptographically secure generator, and the module refuses a format that would let a visitor find a valid code more often than once in 10,000 attempts. A meter shows the actual odds while you choose the format. The direct link also blocks a connection that tries too many unknown codes.

§ 04

Get the codes to where your customers are

Personal codes are sent from the module in the language of the customer account, with an editable message and a button that applies the code to the cart. Sending is throttled to stay under the limit of your SMTP server and, by default, restricted to customers who accepted the newsletter. For parcels, trade fairs or the shop counter, the PDF lays out cards, labels or flyers with a QR code. For an external email tool, the CSV export lists each code with its customer and direct link.

§ 05

A link that applies the code by itself

Each code has a URL that opens the shop and adds the discount to the cart. If the cart is empty, the code is kept for 30 days and applied as soon as a product is added. If a condition is missing, the visitor sees which one, and a personal code asks the customer to sign in first. Nothing to type, which matters on mobile and after scanning a QR code.

§ 06

Measure what each campaign earns

Statistics are based on PrestaShop orders: only valid orders count toward revenue and discount, converted into the default currency. For each batch you see the redemption rate, average order value, revenue to discount ratio, orders per day and the share of orders placed by customers who had never ordered before. The channel table shows where your codes perform best.

€149.00
One-time · 12 months updates
Read the docs
  • Unlimited dev & staging installs
  • Source code included
  • 30-day refund
  • 24h support · EN / FR
5.0/5 21 reviews
All customer reviews