Download the PHP package mfbv/module-group-price without Composer

On this page you can find all versions of the php package mfbv/module-group-price. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-group-price

MFBV Group Price for Magento 2

Per-customer-group base price override — set a dedicated base price per customer group and website. That price becomes the effective regular price for matching customers, so catalog price rules, the price index, layered navigation, and APIs stay consistent end to end.

Package mfbv/module-group-price
Module MFBV_GroupPrice
Version 1.0.0
License OSL-3.0 (see composer.json)
PHP 8.1, 8.2, 8.3, 8.4

Why this extension

Magento’s native Group Price behaves like a discount from the catalog price. MFBV Group Price is built for B2B and multi-segment scenarios where a group’s negotiated price is the new baseline: catalog rules apply on top of that baseline, and the storefront price stack (list vs. special, rules, indexers) treats it as RegularPrice, not a parallel tier.


Features at a glance


Notable technical details

These points matter for merchants, agencies, and reviewers:

  1. RegularPrice replacement — A RegularPrice plugin resolves the group-aware amount before catalog rules; unconfigured groups fall back to the normal catalog price.
  2. Catalog rules use the group base — CatalogRuleIndexerPlugin rebases rule output so percentage/fixed rules apply from the group price, not the global list price.
  3. Price index correctness — ProductPriceIndexerPlugin and DimensionalIndexGroupPricePlugin align final_price / min_price / max_price per customer group so category pages and search filters are not wrong for logged-in segments.
  4. Declarative schema — Data lives in mfbv_group_price with FKs to product, customer group, and website; unique per (entity_id, customer_group_id, website_id).
  5. Import semantics — Group prices are processed after product import bunches (aligned with tier price–style workflows); behavior respects module enable flag and import mode.
  6. ACL — MFBV_GroupPrice::manage (REST + admin operations) and MFBV_GroupPrice::config (system configuration).
  7. Compatibility awareness — Third-party RegularPrice plugins (e.g. B2B shared catalog, Amasty/Mirasvit pricing) may need sortOrder review in etc/di.xml; MSI does not conflict.

Requirements


Installation

Composer (recommended)

Manual

  1. Copy the GroupPrice package under app/code/MFBV/GroupPrice/.
  2. Run:

setup:upgrade creates the mfbv_group_price table from etc/db_schema.xml.


Configuration

Stores → Configuration → Catalog → Group Price → General → Enable Group Price

When disabled: storefront uses default catalog prices only, admin group price fields are hidden, and saves/imports do not apply group rows.


Admin usage

  1. Edit a product in Admin.
  2. Open Advanced Pricing (link above the Price field).
  3. In Group Prices, use Add to set Customer Group and Price (per website as shown in the form).
  4. Leave a group unset to keep the global catalog price for that segment.
  5. Save the product.

Grant roles Catalog → Manage Customer Group Prices and Catalog → Group Price Configuration as needed under System → User Roles.


Product import (CSV)

The catalog product import adds these columns (also present in the downloadable sample when the module is enabled):

Column Purpose
_group_price_website Website code (or all where applicable)
_group_price_customer_group Customer group code or all
_group_price_price Group base price

Validation runs with the standard product import validator pipeline.


REST API

All routes require an admin integration or session with permission MFBV_GroupPrice::manage.

Method Endpoint
GET /V1/products/:sku/group-prices/:websiteId
POST /V1/products/:sku/group-prices (JSON body with customer_group_id, website_id, value)
DELETE /V1/products/:sku/group-prices/:groupId/:websiteId

See Api/GroupPriceManagementInterface.php and etc/webapi.xml for the service contract.


Price stack (simplified)

Indexers mirror this so indexed prices match runtime resolution for each customer group.


Indexer and performance

For high-volume catalogs, set both indexers to Update by Schedule to avoid long synchronous reindex on admin saves:

Typical overhead on full reindex is moderate (single-digit to low teens percent vs. baseline); background mode avoids blocking the admin UI.

Storefront caching: Magento already varies by customer group where required; no extra cache keys are introduced by this module for that reason alone.


Uninstall

Declarative schema removes mfbv_group_price when the module is disabled and setup:upgrade runs.


Compatibility matrix

Area Notes
Elasticsearch / OpenSearch Supported via price indexer plugins.
GraphQL / PWA Studio RegularPrice resolution applies where core resolves catalog prices.
MSI No direct interaction.
Magento B2B / other pricing modules Review plugin sortOrder on RegularPrice and related types.

Support and updates

For licensed / commercial deployments, use the support channel provided by MFBV (ticket portal, email, or partner agreement). Include Magento version, PHP version, module version (composer show mfbv/module-group-price), and steps to reproduce when reporting issues.


Changelog

1.0.0


License

This software is licensed under the Open Software License 3.0 (OSL-3.0). The full text is in LICENSE. SPDX identifier: OSL-3.0.


All versions of module-group-price with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0||~8.2.0||~8.3.0||~8.4.0
magento/framework Version >=103.0
magento/module-catalog Version >=104.0
magento/module-catalog-import-export Version >=101.0
magento/module-import-export Version >=101.0
magento/module-catalog-rule Version >=101.0
magento/module-customer Version >=103.0
magento/module-store Version >=101.0
magento/module-eav Version >=102.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mfbv/module-group-price contains the following files

Loading the files please wait ...