← All modules

Magento 2 module

Catalog Product Price

Adds custom labels and information texts to product prices (final, old, minimum and maximum price) plus an extra price line such as a recommended retail price, driven by product attributes.

Many stores need short texts next to their prices: “RRP”, “from”, “per metre”, “incl. VAT, plus shipping”, or a recommended retail price shown above the actual price. This module lets you add a label and an information text to each price type. The texts can come from a product attribute, so they can differ per product, with a default value as fallback for products without their own value.

Features

  • Label and information text for the final price, the old (regular) price, the minimum price and the maximum price, each taken from a product attribute of your choice or from a default value.
  • An additional “Information” price line shown before the price, made up of its own label, a price from a price attribute (for example a recommended retail price) and an information text.
  • Shown on product pages and in product lists.
  • For configurable products, labels, texts and the information line change with the variant the shopper selects.
  • “Show Configurable Special Price”: in product lists, configurable products with a special price also show the regular price as “Regular Price”.

Configuration

Go to Stores > Configuration > Infrangible Solutions > Catalog Product Price. The groups “Final Price”, “Old Price”, “Min Price”, “Max Price” and “Information” each have an “Enable” switch and sub-sections for “Label” and “Information” (the “Information” group also has “Price”). In every sub-section you enable the value, choose the product “Attribute” it is read from and enter a “Default Value”. “Show Configurable Special Price” is found in the “Old Price” group. All settings can be changed per website and store view.

Good to know

A companion module, “Catalog Product Price Hyvä Theme”, makes these features work in stores using the Hyvä theme. Without it, the module works with the standard Magento frontend (Luma and Luma-based themes).

Installation

Install the module with Composer in your Magento root directory:

composer require infrangible/m2-catalog-product-price

Then enable it and update the store as described in the installation guide. Composer installs the required modules listed on this page automatically.

Using the Hyvä theme? Also install the companion module Catalog Product Price Hyvä Theme:

composer require infrangible/m2-catalog-product-price-hyva