{"id":24066136,"url":"https://github.com/opengento/magento2-minimal-price","last_synced_at":"2025-06-14T05:06:29.000Z","repository":{"id":262013819,"uuid":"885985868","full_name":"opengento/magento2-minimal-price","owner":"opengento","description":"This module allows the merchants to set a minimal price for products.","archived":false,"fork":false,"pushed_at":"2025-04-10T07:52:07.000Z","size":27,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-30T01:41:18.598Z","etag":null,"topics":["magento","magento-2","magento-extension","magento-module","magento2","magento2-extension","magento2-extension-free","magento2-module","minimal-price","price","pricing"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opengento.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":["https://www.helloasso.com/associations/opengento/formulaires/1"]}},"created_at":"2024-11-09T22:09:56.000Z","updated_at":"2025-04-10T07:52:11.000Z","dependencies_parsed_at":"2024-11-09T22:41:51.780Z","dependency_job_id":"428d9e8c-a671-4df8-b219-f46cadbde652","html_url":"https://github.com/opengento/magento2-minimal-price","commit_stats":null,"previous_names":["opengento/magento2-minimal-price"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/opengento/magento2-minimal-price","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengento%2Fmagento2-minimal-price","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengento%2Fmagento2-minimal-price/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengento%2Fmagento2-minimal-price/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengento%2Fmagento2-minimal-price/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opengento","download_url":"https://codeload.github.com/opengento/magento2-minimal-price/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengento%2Fmagento2-minimal-price/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259763073,"owners_count":22907408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["magento","magento-2","magento-extension","magento-module","magento2","magento2-extension","magento2-extension-free","magento2-module","minimal-price","price","pricing"],"created_at":"2025-01-09T11:19:53.577Z","updated_at":"2025-06-14T05:06:28.975Z","avatar_url":"https://github.com/opengento.png","language":"PHP","funding_links":["https://www.helloasso.com/associations/opengento/formulaires/1"],"categories":[],"sub_categories":[],"readme":"# Minimal Price Module for Magento 2\n\n[![Latest Stable Version](https://img.shields.io/packagist/v/opengento/module-minimal-price.svg?style=flat-square)](https://packagist.org/packages/opengento/module-minimal-price)\n[![License: MIT](https://img.shields.io/github/license/opengento/magento2-minimal-price.svg?style=flat-square)](./LICENSE) \n[![Packagist](https://img.shields.io/packagist/dt/opengento/module-minimal-price.svg?style=flat-square)](https://packagist.org/packages/opengento/module-minimal-price/stats)\n[![Packagist](https://img.shields.io/packagist/dm/opengento/module-minimal-price.svg?style=flat-square)](https://packagist.org/packages/opengento/module-minimal-price/stats)\n\nThis extension allows to set a minimal price to a product (MAP).\n\n - [Setup](#setup)\n   - [Composer installation](#composer-installation)\n   - [Setup the module](#setup-the-module)\n - [Features](#features)\n - [Did You Know](#did-you-know)\n - [Support](#support)\n - [Authors](#authors)\n - [License](#license)\n\n## Setup\n\nMagento 2 Open Source or Commerce edition is required.\n\n### Composer installation\n\nRun the following composer command:\n\n```\ncomposer require opengento/module-minimal-price\n```\n\n### Setup the module\n\nRun the following magento command:\n\n```\nbin/magento setup:upgrade\n```\n\n**If you are in production mode, do not forget to recompile and redeploy the static resources.**\n\n## Features\n\nDefine the minimal price availability for a product. The price is capped to the minimal value if any special price, \ntier price or catalog rule tries to price down the limit.\n\n### Product Attributes\n\n- `minimal_price`, available in the \"Advanced Pricing\" group.\n\nIf you use the native import export tool provided with Magento, the attribute `minimal_price` is mapped with the field `map_price`. \n\n## Did You Know\n\n### An hiding an never completed feature\n\nWhile working on this project, it appears that Magento already has an attribute with code \"minimal_price\".  \nThis attribute exists in Magento since forever. It's actually a system attribute which is not visible through the admin panel.  \nThere is also a few method that refers to this attribute, such as:  \n\n- \\Magento\\Catalog\\Model\\Product::getMinimalPrice (Called in \\Magento\\Catalog\\Pricing\\Price\\FinalPrice::getMinimalPrice)\n- \\Magento\\Catalog\\Model\\ResourceModel\\Product\\Collection::joinMinimalPrice (Never called)\n\nThis attribute and methods are not used in the Commerce edition neither.  \nThere is also some trace there: `\\Magento\\CatalogImportExport\\Model\\Export\\Product`:  \n```\n...\n'minimal_price' =\u003e 'map_price',\n'msrp' =\u003e 'msrp_price',\n'msrp_enabled' =\u003e 'map_enabled',\n...\n```\nThis suggests that `minimal_price` is mapped as \"Minimum Advertised Price\" (MAP). MAP policies are legal documents brands \nuse to define the lowest legally possible advertised price for a product. It does set the minimum, some penalties may be \napplied if a seller violates the MAP.  \n\nThis module updates and reuse this existing attribute in order to give it a true usage.  \n\n## Support\n\nRaise a new [request](https://github.com/opengento/magento2-minimal-price/issues) to the issue tracker.\n\n## Authors\n\n- **Opengento Community** - *Lead* - [![Twitter Follow](https://img.shields.io/twitter/follow/opengento.svg?style=social)](https://twitter.com/opengento)\n- **Thomas Klein** - *Maintainer* - [![GitHub followers](https://img.shields.io/github/followers/thomas-kl1.svg?style=social)](https://github.com/thomas-kl1)\n- **Contributors** - *Contributor* - [![GitHub contributors](https://img.shields.io/github/contributors/opengento/magento2-minimal-price.svg?style=flat-square)](https://github.com/opengento/magento2-minimal-price/graphs/contributors)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](./LICENSE) details.\n\n***That's all folks!***\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopengento%2Fmagento2-minimal-price","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopengento%2Fmagento2-minimal-price","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopengento%2Fmagento2-minimal-price/lists"}