PHPackages                             opengento/module-minimal-price - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. opengento/module-minimal-price

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

opengento/module-minimal-price
==============================

This extension allows to set if a product is minimalPrice and can show its price by scope and customer group.

1.0.3(1y ago)46661MITPHPPHP ^8.1

Since Nov 10Pushed 1y ago7 watchersCompare

[ Source](https://github.com/opengento/magento2-minimal-price)[ Packagist](https://packagist.org/packages/opengento/module-minimal-price)[ Docs](https://github.com/opengento/magento2-minimal-price)[ Fund](https://www.helloasso.com/associations/opengento/formulaires/1)[ RSS](/packages/opengento-module-minimal-price/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

Minimal Price Module for Magento 2
==================================

[](#minimal-price-module-for-magento-2)

[![Latest Stable Version](https://camo.githubusercontent.com/cacc970be8ed9b0e7ff37c9b80969e7a9046392027f2192d487545dd8d6652a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f70656e67656e746f2f6d6f64756c652d6d696e696d616c2d70726963652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/opengento/module-minimal-price)[![License: MIT](https://camo.githubusercontent.com/fa6a5e6ca5ad902ce8e98b0545f9d10b2bfe0e607c11f71365c648f8da2ab04e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6f70656e67656e746f2f6d6167656e746f322d6d696e696d616c2d70726963652e7376673f7374796c653d666c61742d737175617265)](./LICENSE)[![Packagist](https://camo.githubusercontent.com/0286c481ef90a2562d44dba1d192f751112f13b49aa39e4187661a40534a676e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f70656e67656e746f2f6d6f64756c652d6d696e696d616c2d70726963652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/opengento/module-minimal-price/stats)[![Packagist](https://camo.githubusercontent.com/b1d5cba98dfebdec5f5ddb45d50065c989fa9168c3b7edaac8febb47b0a1a8e9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6f70656e67656e746f2f6d6f64756c652d6d696e696d616c2d70726963652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/opengento/module-minimal-price/stats)

This extension allows to set a minimal price to a product (MAP).

- [Setup](#setup)
    - [Composer installation](#composer-installation)
    - [Setup the module](#setup-the-module)
- [Features](#features)
- [Did You Know](#did-you-know)
- [Support](#support)
- [Authors](#authors)
- [License](#license)

Setup
-----

[](#setup)

Magento 2 Open Source or Commerce edition is required.

### Composer installation

[](#composer-installation)

Run the following composer command:

```
composer require opengento/module-minimal-price

```

### Setup the module

[](#setup-the-module)

Run the following magento command:

```
bin/magento setup:upgrade

```

**If you are in production mode, do not forget to recompile and redeploy the static resources.**

Features
--------

[](#features)

Define the minimal price availability for a product. The price is capped to the minimal value if any special price, tier price or catalog rule tries to price down the limit.

### Product Attributes

[](#product-attributes)

- `minimal_price`, available in the "Advanced Pricing" group.

If you use the native import export tool provided with Magento, the attribute `minimal_price` is mapped with the field `map_price`.

Did You Know
------------

[](#did-you-know)

### An hiding an never completed feature

[](#an-hiding-an-never-completed-feature)

While working on this project, it appears that Magento already has an attribute with code "minimal\_price".
This attribute exists in Magento since forever. It's actually a system attribute which is not visible through the admin panel.
There is also a few method that refers to this attribute, such as:

- \\Magento\\Catalog\\Model\\Product::getMinimalPrice (Called in \\Magento\\Catalog\\Pricing\\Price\\FinalPrice::getMinimalPrice)
- \\Magento\\Catalog\\Model\\ResourceModel\\Product\\Collection::joinMinimalPrice (Never called)

This attribute and methods are not used in the Commerce edition neither.
There is also some trace there: `\Magento\CatalogImportExport\Model\Export\Product`:

```
...
'minimal_price' => 'map_price',
'msrp' => 'msrp_price',
'msrp_enabled' => 'map_enabled',
...

```

This suggests that `minimal_price` is mapped as "Minimum Advertised Price" (MAP). MAP policies are legal documents brands use to define the lowest legally possible advertised price for a product. It does set the minimum, some penalties may be applied if a seller violates the MAP.

This module updates and reuse this existing attribute in order to give it a true usage.

Support
-------

[](#support)

Raise a new [request](https://github.com/opengento/magento2-minimal-price/issues) to the issue tracker.

Authors
-------

[](#authors)

- **Opengento Community** - *Lead* - [![Twitter Follow](https://camo.githubusercontent.com/f582f22fdefea808310d5426ff86d748569ab584a65c28c30eb34b72a73ba802/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f6f70656e67656e746f2e7376673f7374796c653d736f6369616c)](https://twitter.com/opengento)
- **Thomas Klein** - *Maintainer* - [![GitHub followers](https://camo.githubusercontent.com/e0e283f9de9d23a7bfeac3e6088a3a3a6844c123e1861f866242cd80e3361088/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f6c6c6f776572732f74686f6d61732d6b6c312e7376673f7374796c653d736f6369616c)](https://github.com/thomas-kl1)
- **Contributors** - *Contributor* - [![GitHub contributors](https://camo.githubusercontent.com/d87e9d74f88fa78d459b981ebff3559d749794ef2452b65a6b2cbab880bf04b4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6f70656e67656e746f2f6d6167656e746f322d6d696e696d616c2d70726963652e7376673f7374796c653d666c61742d737175617265)](https://github.com/opengento/magento2-minimal-price/graphs/contributors)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) details.

***That's all folks!***

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance45

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

4

Last Release

535d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/95669?v=4)[Thom](/maintainers/thomasklein)[@thomasklein](https://github.com/thomasklein)

---

Top Contributors

[![thomas-kl1](https://avatars.githubusercontent.com/u/20971693?v=4)](https://github.com/thomas-kl1 "thomas-kl1 (8 commits)")

---

Tags

magentomagento-2magento-extensionmagento-modulemagento2magento2-extensionmagento2-extension-freemagento2-moduleminimal-pricepricepricingphpmagentomappricemagento2pricingminimum advertised priceminimal advertised price

### Embed Badge

![Health badge](/badges/opengento-module-minimal-price/health.svg)

```
[![Health](https://phpackages.com/badges/opengento-module-minimal-price/health.svg)](https://phpackages.com/packages/opengento-module-minimal-price)
```

###  Alternatives

[opengento/module-gdpr

Gdpr Compliance Module for Magento 2

14481.5k](/packages/opengento-module-gdpr)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

69344.4k](/packages/run-as-root-magento2-prometheus-exporter)[opengento/module-saleable

This extension allows to set if a product is saleable and can show its price by scope and customer group.

136.9k](/packages/opengento-module-saleable)[opengento/module-category-import-export

This module add the capability to import and export the categories from the back-office.

119.1k](/packages/opengento-module-category-import-export)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[opengento/composer-registration-plugin

This plugin allows to compile the Magento2 components registrations on composer install/update.

111.6k](/packages/opengento-composer-registration-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
