PHPackages                             justbetter/magento2-customer-pricing - 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. justbetter/magento2-customer-pricing

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

justbetter/magento2-customer-pricing
====================================

Customer specific pricing module for Magento 2

1.2.4(5mo ago)102.6k3MITPHPCI passing

Since Jun 22Pushed 5mo ago4 watchersCompare

[ Source](https://github.com/justbetter/magento2-customer-pricing)[ Packagist](https://packagist.org/packages/justbetter/magento2-customer-pricing)[ RSS](/packages/justbetter-magento2-customer-pricing/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (6)Versions (15)Used By (0)

JustBetter Customer Pricing
===========================

[](#justbetter-customer-pricing)

Magento 2 module that enables prices for specific customers.

Features
--------

[](#features)

- Allows for storing customer specific prices in the database via the API
- Sets the customer specific prices on category and product pages
- Sets the customer specific prices in the cart and checkout

Installation
------------

[](#installation)

```
composer require justbetter/magento2-customer-pricing
bin/magento setup:upgrade
```

How does it work?
-----------------

[](#how-does-it-work)

Magento 2 provides a final price event (`catalog_product_get_final_price`) in which we can override the product price in the checkout / cart.

For the product and category pages we hook into the `catalog_product_collection_load_after` to set the final price of the products.

We store the customer prices in a database table called `customer_pricing`.

Updating Prices
---------------

[](#updating-prices)

This module provides an API endpoint for updating prices.

Make a POST request to: `customer-pricing/{sku}` with the following payload:

```
{
  "customerPrices": [
    {
      "customer_id": 10,
      "quantity": 10,
      "price": 9.99
    },
    {
      "customer_id": 20,
      "quantity": 1,
      "price": 8.99
    }
  ]
}
```

Current Limitations
-------------------

[](#current-limitations)

Due to the simplicity of this module there are several limitations. We accept non-breaking PR's to accept functionality.

### Website / store specific pricing

[](#website--store-specific-pricing)

This module currently does not support pricing for specific stores / websites because we do not store a website/store id with each price.

### No adding/updating in the Magento 2 backend

[](#no-addingupdating-in-the-magento-2-backend)

It is currently only possible to view and delete customer specific prices in the backend.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Vincent Boon](https://github.com/VincentBean)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance72

Regular maintenance activity

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.1% 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 ~79 days

Recently: every ~139 days

Total

13

Last Release

158d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d00b3f55cd4ae8b8cfb001a644ed6c7a1127a956c24375bcfe16ce12bd89bed?d=identicon)[justbetter](/maintainers/justbetter)

---

Top Contributors

[![VincentBean](https://avatars.githubusercontent.com/u/3906942?v=4)](https://github.com/VincentBean "VincentBean (23 commits)")[![claudio-ferraro](https://avatars.githubusercontent.com/u/54107647?v=4)](https://github.com/claudio-ferraro "claudio-ferraro (4 commits)")[![iljhli](https://avatars.githubusercontent.com/u/58231895?v=4)](https://github.com/iljhli "iljhli (1 commits)")

---

Tags

customer-pricingmagentomagento2pricingmagentomagento2pricing

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/justbetter-magento2-customer-pricing/health.svg)

```
[![Health](https://phpackages.com/badges/justbetter-magento2-customer-pricing/health.svg)](https://phpackages.com/packages/justbetter-magento2-customer-pricing)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[yireo/magento2-googletagmanager2

Add Google Tag Manager to Magento

1681.0M5](/packages/yireo-magento2-googletagmanager2)[yireo/magento2-extensionchecker

Scan the code of a Magento module

96166.3k3](/packages/yireo-magento2-extensionchecker)[opengento/module-category-import-export

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

1310.9k2](/packages/opengento-module-category-import-export)[buckaroo/magento2

Buckaroo Magento 2 extension

32420.3k8](/packages/buckaroo-magento2)

PHPackages © 2026

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