PS PrestaShop Beginner

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.

Updated Module version 2.0.1

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.

Library of 14 trade templates, ready to import with a demo product
Library of 14 trade templates, ready to import with a demo product

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
  1. In Modules > Module Manager, click Upload a module and send datafireflyconfigurator-2.0.1.zip.
  2. The Modules > Product configurators menu appears: create a configurator or open the Template library.
  3. 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

  1. Link one or more products and, if needed, categories (subcategories included).
  2. Choose the layout: guided steps (one step at a time) or all fields.
  3. Add steps with the type palette, then their options (label in each language, surcharge, weight, stock, reference, colour, thumbnail).
  4. Enable the visual preview if you want an image that builds live, then save.
Editor: configurator summary, linked products, step layout and price mode
Editor: configurator summary, linked products, step layout and price mode

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.

Importing a template: demo product, link to an existing product or configurator only
Importing a template: demo product, link to an existing product or configurator only

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.

Custom T-shirt: guided steps, live preview, summary and calculated price
Custom T-shirt: guided steps, live preview, summary and calculated price
Custom T-shirt in the back office: options, surcharges, formulas and stock
Custom T-shirt in the back office: options, surcharges, formulas and stock

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.

Made-to-measure solid wood table: guided steps, live preview, summary and calculated price
Made-to-measure solid wood table: guided steps, live preview, summary and calculated price
Made-to-measure solid wood table in the back office: options, surcharges, formulas and stock
Made-to-measure solid wood table in the back office: options, surcharges, formulas and stock

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.

Build-your-own city bike: guided steps, live preview, summary and calculated price
Build-your-own city bike: guided steps, live preview, summary and calculated price
Build-your-own city bike in the back office: options, surcharges, formulas and stock
Build-your-own city bike in the back office: options, surcharges, formulas and stock

Jewellery · Engraved pendant

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

Engraved pendant: guided steps, live preview, summary and calculated price
Engraved pendant: guided steps, live preview, summary and calculated price
Engraved pendant in the back office: options, surcharges, formulas and stock
Engraved pendant in the back office: options, surcharges, formulas and stock

Computers · Custom-built PC

Use, case, processor, memory, storage, graphics card offered only for creative work and gaming, with component stock, system and warranty.

Custom-built PC: guided steps, live preview, summary and calculated price
Custom-built PC: guided steps, live preview, summary and calculated price
Custom-built PC in the back office: options, surcharges, formulas and stock
Custom-built PC in the back office: options, surcharges, formulas and stock

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.

Printed sign or banner: guided steps, live preview, summary and calculated price
Printed sign or banner: guided steps, live preview, summary and calculated price
Printed sign or banner in the back office: options, surcharges, formulas and stock
Printed sign or banner in the back office: options, surcharges, formulas and stock

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.

Build-your-own gift box: guided steps, live preview, summary and calculated price
Build-your-own gift box: guided steps, live preview, summary and calculated price
Build-your-own gift box in the back office: options, surcharges, formulas and stock
Build-your-own gift box in the back office: options, surcharges, formulas and stock

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.

Made-to-measure roller blind: guided steps, live preview, summary and calculated price
Made-to-measure roller blind: guided steps, live preview, summary and calculated price
Made-to-measure roller blind in the back office: options, surcharges, formulas and stock
Made-to-measure roller blind in the back office: options, surcharges, formulas and stock

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.

Made-to-measure worktop: guided steps, live preview, summary and calculated price
Made-to-measure worktop: guided steps, live preview, summary and calculated price
Made-to-measure worktop in the back office: options, surcharges, formulas and stock
Made-to-measure worktop in the back office: options, surcharges, formulas and stock

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.

Personalised birthday cake: guided steps, live preview, summary and calculated price
Personalised birthday cake: guided steps, live preview, summary and calculated price
Personalised birthday cake in the back office: options, surcharges, formulas and stock
Personalised birthday cake in the back office: options, surcharges, formulas and stock

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.

Laser-cut sheet metal part: guided steps, live preview, summary and calculated price
Laser-cut sheet metal part: guided steps, live preview, summary and calculated price
Laser-cut sheet metal part in the back office: options, surcharges, formulas and stock
Laser-cut sheet metal part in the back office: options, surcharges, formulas and stock

Eyewear · Build your own glasses

Frame shape and colour, lens type, prescription required for corrective lenses, pupillary distance, coatings and case.

Build your own glasses: guided steps, live preview, summary and calculated price
Build your own glasses: guided steps, live preview, summary and calculated price
Build your own glasses in the back office: options, surcharges, formulas and stock
Build your own glasses in the back office: options, surcharges, formulas and stock

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.

Build-your-own seasonal bouquet: guided steps, live preview, summary and calculated price
Build-your-own seasonal bouquet: guided steps, live preview, summary and calculated price
Build-your-own seasonal bouquet in the back office: options, surcharges, formulas and stock
Build-your-own seasonal bouquet in the back office: options, surcharges, formulas and stock

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.

Personalised photo mug: guided steps, live preview, summary and calculated price
Personalised photo mug: guided steps, live preview, summary and calculated price
Personalised photo mug in the back office: options, surcharges, formulas and stock
Personalised photo mug in the back office: options, surcharges, formulas and stock

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.
Full summary of the made-to-measure blind: every choice editable and price per m² calculated
Full summary of the made-to-measure blind: every choice editable and price per m² calculated
On mobile: photo mug with pinned preview, colour swatches and sticky price bar
On mobile: photo mug with pinned preview, colour swatches and sticky price bar
Inline mode in the product page: gift box built item by item, with stock
Inline mode in the product page: gift box built item by item, with stock
Window after adding to cart: configured bouquet, chosen options and cart total
Window after adding to cart: configured bouquet, chosen options and cart total

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.

Order in the back office: configuration, generated final visual and customer file to download
Order in the back office: configuration, generated final visual and customer file to download
Order confirmation email with the configuration details
Order confirmation email with the configuration details
PDF invoice: the configuration is shown under the product, with the calculated price
PDF invoice: the configuration is shown under the product, with the calculated price

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.

Display settings: mode, accent colour, mobile price bar, fonts and file retention
Display settings: mode, accent colour, mobile price bar, fonts and file retention

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 qty is 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.
Was this page helpful?

Still stuck? Contact support