epuzzle / magento2-customer-price
epuzzle/magento2-customer-price
This module provides prices for customers individually. If you want to add product prices for customers you can use this module.
Welcome
Welcome to the Customer Prices module! This module allows you to set individual product prices for each customer. Use it
if you need to manage customer-specific pricing in Magento 2.
Builds Status
Requirements
Supported Magento 2 versions
| Version | Status | Notes |
|---|---|---|
| Magento Open Source/Adobe Commerce 2.3.* | ? | Deprecated module here |
| Magento Open Source 2.4.3 | ? | Deprecated module here |
| Adobe Commerce 2.4.4+ | ✓ | |
| Magento Open Source 2.4.4+ | ✓ |
Documentation
Postman API
Use the Postman collection below to explore and test the API endpoints.
License
Copyright (c) 2025 ePuzzle contributors.
This module is MIT licensed.
Project coordinator: [email protected]
2.0.1
- Bugs fixed:
- Resolved issues with PHP8.4
2.0.0
- Important changes:
- The web api endpoints were changed. We added the prefix to all endpoints (edpuzzle-)
- The
CustomerPriceRepositoryInterface::getListmethod was changed. The result is search results entity - Added the
epuzzle/magento2-module-basemodule as a required dependency - ACL structure was changed. Depends on the
epuzzle/magento2-module-basemodule - The di.xml, events.xml, etc. were changed. The plugin names, keys, etc. were changed
- The customer price code was changed
- The module is enabled by default
- New features:
- Supported new Magento and PHP versions
- Supported configurable and grouped products - if the simple product has a customer price, the parent product will
have the same price
- Bugs fixed:
- Fixed the issue when the customer price is more than the product price for the search engines
- Fixed all phpcs/phpstan
- GitHub issues:
- #3 - Different logics to apply the customer prices
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 2.0.1 | stable | Fail | Magento 2.4.8 Details | 2025-09-22 21:19:37 |
| 2.0.0 | stable | Not tested | Not yet tested Details | 2025-05-23 13:43:21 |
| 1.1.1 | stable | Not tested | Not yet tested Details | 2022-07-19 18:20:12 |
| 1.1.0 | stable | Not tested | Not yet tested Details | 2022-07-16 15:29:16 |
Requires 4
| Package | Constraint |
|---|---|
| php | ~8.1.0||~8.2.0||~8.3.0||~8.4.0 |
| magento/framework | * |
| magento/module-catalog | * |
| epuzzle/magento2-module-base | * |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Pass | 0 | |
| PHPMD | Warning | 13 | 13 rule violations (UnusedFormalParameter:10, IfStatementAssignment:3) |
| Cpd | Warning | 1 | 1 duplicated chunk spanning 69 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Info | 4 | valid; 4 advisory notes (composer validate --strict) |
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.