PHPackages                             rlt/custom-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. rlt/custom-price

ActiveMagento2-module

rlt/custom-price
================

A Magento 2 module assign special price to special customers

00PHP

Since Jul 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/salman231/rlt-customprice)[ Packagist](https://packagist.org/packages/rlt/custom-price)[ RSS](/packages/rlt-custom-price/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Custom Price
============

[](#custom-price)

Overview
========

[](#overview)

A custom module to assign special prices to special customer Here are some of the salient features for the extension:

```
1. You can now assign your own prices to your special customers
2. Your special customer can just login and see his/her price with Your Price label
3. Easy to manage from magento admin
4. Only one product can be assign at one time to one customer (1:1)

```

### Manually

[](#manually)

1. Go to Magento® 2 root folder
2. Require/Download this extension:

    Enter following commands to install extension.

    ```
    composer require rlt/custom-price

    ```

    #### OR

    [](#or)

    You can also download code from this repo under Magento® 2 following directory:

    ```
    app/code/RLT/CustomPrice

    ```
3. Enter following commands to enable the module:

    ```
    php bin/magento module:enable RLT_CustomPrice
    php bin/magento setup:upgrade
    php bin/magento cache:clean
    php bin/magento cache:flush

    ```
4. If Magento® is running in production mode, deploy static content:

    ```
    php bin/magento setup:static-content:deploy

    ```

5- Go to Admin Side and see the grid in RLTSquare-&gt;Custom Price menu for successful installation of module.

NOTES:
======

[](#notes)

- Custom price on storefront is handled by using an after plugin on getPrice method of Product.
- Custom table is being created with db\_schema and Admin Grid is handled by UI Components.
- For handeling cache issues, the price of every product is fetched after sending a post request to fetch the price of product from database after discount calculations and then rendered on frontend using javascript.

Limitations - this module has limitation specified below
========================================================

[](#limitations---this-module-has-limitation-specified-below)

- Special Prices will work with only Simple product types.
- Prices are not cached as on each product render an ajax request will be sent to the server to fetch the products latest price.

Developed by: Salman Hanif
==========================

[](#developed-by-salman-hanif)

Email:
===================================

[](#email-salmanhanifrltsquarecom)

[www.rltsquare.com](http://www.rltsquare.com)
=============================================

[](#wwwrltsquarecom)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/09b2e7dc163f68ef628eabf74b17b4d066e02ba614373ad614ed403850497199?d=identicon)[salman231](/maintainers/salman231)

---

Top Contributors

[![salman231](https://avatars.githubusercontent.com/u/68949359?v=4)](https://github.com/salman231 "salman231 (10 commits)")

### Embed Badge

![Health badge](/badges/rlt-custom-price/health.svg)

```
[![Health](https://phpackages.com/badges/rlt-custom-price/health.svg)](https://phpackages.com/packages/rlt-custom-price)
```

PHPackages © 2026

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