Display the price impact of each attribute on your PrestaShop products

Display the price impact of each attribute on your PrestaShop products

This module automatically displays the price variation for each attribute directly on your product pages, via elegant and customizable tooltips. Static or dynamic mode, configurable colors.

Version v2.1.0 Compatibility PS 1.6 → 9.x Category Front office Features 0 installs 0.0★ average rating

Description

The Problem

By default, PrestaShop does not show the surcharge (or discount) of each attribute on the product page. The customer has to select an option, wait for the total price to update, then guess the difference.

The result: confusion, hesitation and cart abandonment. For products with many combinations, this is a real barrier to conversion.

The Solution

MedFeaturePrice automatically displays the price impact next to each attribute: dropdowns, radio buttons and colour swatches. The customer immediately sees the surcharge or saving before selecting.

In dynamic mode (PS 1.7+), prices recalculate in real time whenever an option changes, always relative to the currently selected combination.

How It Works

1

Installation

Install the module from your back office. No core modifications, no overrides: the module uses only PrestaShop’s native hooks.

2

Configuration

Customise the text before/after the price, the calculation mode (dynamic or static), currency display and tooltip colours.

3

Display

Price impacts automatically appear on every product page, next to each attribute, in elegant tooltips or directly in the text.

Detailed Features

Dynamic Mode (PS 1.7+)

  • Prices relative to the currently selected combination
  • Real-time update whenever an option changes
  • Client-side calculation for instant responsiveness
  • Price formatting via Intl.NumberFormat (locale-aware)

Static Mode

  • Prices relative to the default combination
  • Ideal for simple configurations (single attribute group)
  • Compatible with PrestaShop 1.6 to 9.x
  • Server-side pre-calculated labels

All Selector Types

  • Dropdowns (select): text appended to each option
  • Radio buttons: label with price supplement
  • Colour swatches: tooltip on hover
  • Compatible with PS 1.6 (colour links) and PS 1.7+ (input-color)

Customisable Tooltips

  • Tooltip system independent of Bootstrap
  • Background colour configurable via colour picker
  • Distinct colour for negative impacts (lower price)
  • Automatic text contrast (black/white) based on background

Customisable Display

  • Text before the price, configurable per language (e.g. “(+”)
  • Text after the price, configurable per language (e.g. “)”)
  • Option to show or hide the currency code
  • Full multilingual support

Tax & Currency Handling

  • Prices including or excluding tax based on store settings
  • Respects customer group display rules (tax incl./excl.)
  • Automatic conversion to the active currency
  • Decimal precision adapted to the PrestaShop version

Seamless Integration

No overrides, no core file modifications. The module hooks into PrestaShop’s native system (displayHeader for PS 1.6, actionFrontControllerSetMedia for PS 1.7+) and injects price data via JavaScript. It works with every PrestaShop-compatible theme out of the box, with no customisation required.

Installation

Download the module and install it from your back office (Modules > Module Manager)

The module automatically registers on the required hooks and creates its default configuration

Customise the text before/after the price, calculation mode, currency display and tooltip colours

Price impacts immediately appear on every product page that has combinations

Features

Changelog

v2.0.0
  • Compatibility with PrestaShop 1.6 to 9.x
  • Added dynamic calculation mode: prices relative to selected combination with real-time update (PS 1.7+)
  • Added static calculation mode: prices relative to default combination
  • Added configuration switch to choose between calculation modes
  • Added customizable tooltip color with color picker
  • Added distinct tooltip color for negative price impacts (default red)
  • Added automatic text color contrast (black/white) based on tooltip background
  • Tooltip colors managed via CSS custom properties
  • Custom tooltip system independent of Bootstrap, compatible with all PS versions
  • Separated asset loading: displayHeader (PS 1.6) / actionFrontControllerSetMedia (PS 1.7+)
  • Replaced serialize/unserialize with json_encode/json_decode
  • Renamed libraries directory to vendor
  • Removed licence and rate tabs
  • Fix price display for PrestaShop 1.7.6+ (Locale formatter)
  • Fix price precision for PrestaShop 1.7.7+ (Currency::$precision)
  • Support for radio buttons and color swatches in PrestaShop 1.7+
  • Added 17 translations (BG, DA, DE, EL, ES, ET, FI, FR, HU, IT, JA, NL, PL, PT, RO, SK, SV)
  • Added landing pages (FR, EN, ES, IT)
  • Full code rewrite and optimization
v2.1.0
  • Added two-level caching for combination data (static property + PrestaShop Cache)
  • Added cache invalidation hooks (actionProductUpdate, actionObjectProductAttribute*)
v1.2.0
  • Correction of option price conversion
v1.1.0
  • Update of libraries
  • Update of the interface
  • Code improvement
  • Performance improvement
v1.0.2
  • Code optimization
v1.0.1
  • Bugs fix
v1.0.0
  • Initial version

A project, a question, an audit?

Personal reply within 24 working hours. No strings attached.

Let's discuss your project →