PrestaShop product configurator: complete guide (v2.0.1)
Install, build a step-by-step configurator, set prices (formulas, stock), import one of the 14 trade templates and follow orders.
The DataFirefly product configurator turns a product page into a guided journey: customers choose step by step, watch their product take shape in the preview and always see the price they will pay, calculated by PrestaShop. This guide covers version 2.0.1, compatible with PrestaShop 1.7.8, 8 and 9.

Installation and update
Requirements
- PrestaShop 1.7.8 to 9.x, Classic, Hummingbird or a theme based on them
- PHP 7.2 to 8.5 with GD and fileinfo (standard extensions)
- No cron task, no external service
- In Modules > Module Manager, click Upload a module and send
datafireflyconfigurator-2.0.1.zip. - The Modules > Product configurators menu appears: create a configurator or open the Template library.
- Set the shared display in Configure (mode, accent colour, mobile bar, fonts).
Updating from 1.x or 2.0.0: install the 2.0.1 zip on top. Configurators, fields, options, carts and orders are kept; existing configurators keep the all-fields layout; files uploaded by customers move to a private folder and the old demo scripts are removed.
Creating a configurator
- Link one or more products and, if needed, categories (subcategories included).
- Choose the layout: guided steps (one step at a time) or all fields.
- Add steps with the type palette, then their options (label in each language, surcharge, weight, stock, reference, colour, thumbnail).
- Enable the visual preview if you want an image that builds live, then save.

Field types
- Dropdown, cards, colour swatches, image thumbnails: one choice among several.
- Checkboxes with minimum and maximum number of choices.
- Text and text area: engraving, message, reference; font, size and colour chosen by the customer.
- Number: sizes, quantities, with minimum, maximum, step and a variable name for formulas.
- File upload: logo, photo, PDF or DXF drawing, prescription.
- Date with a minimum lead time (production, delivery, pickup).
Prices: what the customer sees is what they pay
Each option carries a surcharge excluding tax in the default currency: fixed amount, percentage of the base price, per character, per unit or a formula using number fields (width * height / 10000 * 42). PrestaShop then applies VAT, promotions, group discounts, quantity discounts and the customer’s currency. The product page shows exactly this calculation: the price shown is the cart price. The browser only sends choices; no price is ever read from the request.
Conditions, stock and preview
- Show only if: a step only appears when one of the chosen options is selected (battery for the e-bike, prescription for corrective lenses).
- Option stock: leave empty not to track, or enter a quantity; it decreases with every order and comes back if the order is cancelled. Customers see “Only N left” or “Unavailable”.
- Visual preview: background image, layers per option (PNG or SVG), silhouette tint, layer tinted by the colour of another field, customer text and image in an area drawn with the mouse. The final visual is saved with the order.
Template library
14 complete configurators, one per trade, written in the 8 languages with their preview visuals. Click Import and choose: a demo product (hidden or visible, with image, price, quantity discounts and stock), one of your products, or the configurator only. Everything can be edited afterwards.

Examples by trade
Every template below ships in the library. First the customer on the product page, then its configuration in the back office.
Apparel · Custom T-shirt
Colour, size, print position, customer logo upload and text with font choice. Quantity discounts for team orders.


Furniture · Made-to-measure solid wood table
Length and width to the centimetre with price based on the surface, wood, finish, legs and extensions. Live preview.


Cycling · Build-your-own city bike
Size, frame shape and colour, drivetrain with motor stock, battery shown only for the e-bike version, accessories visible in the preview.


Jewellery · Engraved pendant
Metal, shape, chain, per-letter engraving with font choice, date on the back and gift box. Limited stock on rose gold.


Computers · Custom-built PC
Use, case, processor, memory, storage, graphics card offered only for creative work and gaming, with component stock, system and warranty.


Signage · Printed sign or banner
Material priced per m² (PVC, aluminium composite, banner, acrylic), free size, finishing per material, print file upload and quantity discounts.


Gifts · Build-your-own gift box
Box size, 3 to 8 products with stock for each, ribbon, handwritten card, delivery date: every chosen item appears in the box.


Window blinds · Made-to-measure roller blind
Fabric priced per m², colour, face or recess fitting, sizes to the centimetre, operation with remote only for the motor, aluminium cassette priced per metre.


Kitchen · Made-to-measure worktop
Material priced per m², length and depth, thickness and edge priced per metre, cut-outs visible in the preview, dimensioned plan upload, installation.


Bakery and catering · Personalised birthday cake
Servings, flavour, icing and its colour, decorations, message written on the cake, edible photo, allergies and pickup date with minimum lead time.


Industrial B2B · Laser-cut sheet metal part
Shape, material, size and thickness in mm with weight-based price, per-hole drilling, treatment, tolerance as a percentage, DXF drawing required for a free shape, customer part number and discounts from 10 parts.


Eyewear · Build your own glasses
Frame shape and colour, lens type, prescription required for corrective lenses, pupillary distance, coatings and case.


Florist · Build-your-own seasonal bouquet
Style, main colour, size, vase with stock, handwritten card shown in the preview, extras, delivery date and time slot.


Personalised gifts · Personalised photo mug
Customer photo placed on the mug, text with font choice, handle and inside colour, capacity and discounts from 6 mugs.


On the product page
- Guided steps with “Previous / Next”, progress bar and a check of the step before moving on.
- Summary of every choice with its surcharge and an “Edit” link to each step.
- On mobile, the preview stays pinned at the top and a sticky price bar keeps the button within thumb reach.
- Keyboard friendly: swatches as radio buttons, arrow keys to move text and image, visible focus, price announced to screen readers.
- Three modes: embedded in the page, full-screen window, or replacing the product page.
- After adding, the theme’s cart counter and preview update straight away, without reloading the page, whether the confirmation window is the module’s or the theme’s.




Orders, emails and invoices
Each configuration becomes a PrestaShop customisation: it shows in the cart, the confirmation email, the invoice and the delivery slip. In the order, the Customizations block shows the details, the final visual and the customer files, downloadable by employees only.



Settings
Display mode and placement (automatic or the displayDfProductConfigurator hook for page builders), accent colour, hidden native cart button, mobile price bar, name and step bar, behaviour after adding to cart, Google fonts (off by default, four free fonts included) and retention of files never ordered.

Security and privacy
- Customer files stored outside the module under a random name, never reachable by URL; actual content checked (an image must be an image, no PHP code).
- A file can only be attached by its author; uploads and add to cart are protected by a token unique to each visitor; at most 30 uploads per hour.
- Files never ordered are deleted after the chosen period (60 days by default), without a cron task; order files are kept.
Good to know
- A formula using
qtyis calculated at the add-to-cart quantity; the product’s quantity discounts always follow the cart quantity. - The preview is indicative: its layers do not scale with the entered sizes.