Skip to content

Magento 2 Prices per Customer Manual

Prices per Customer


Magento 2 Prices per Customer extension allows the merchant to utilize an individual approach to shoppers, providing any customer with both regular and special price for each product. The flexible settings let the store owners create an effective pricing strategy for Magento 2 online stores. The extension provides schemes for product pricing (flat rate, ± flat rate or percentage).

Requirements and Installation

Prices per Customer supports both Community and Enterprise edition of Magento 2. The current version of Magento installed on your website can be found in the lower right corner of any backend page.

Prices per Customer extension has 3 separate ways of installation: via Composer or by copying the code.

1) Copy the code (ready-to-paste package);
2) Use MageWorx Repository;
3) Use local Composer.

Extension Configuration

Backend Setup

Log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ MAGEWORX ⟶ Prices per Customer .

Prices per Customer

If the merchants need these new prices to be taken into account for the price rules, they can enable the Use Customer Price In Catalog Price Rule.

If the store owner changes the prices but doesn't observe this on the frontend, it is recommended to click the Manually Synchronize Data button.

Assigning Prices From the Products Workspace

To set custom prices for different store shoppers from the Products workspace, the store owner needs to go to PRODUCTS ⟶ Inventory ⟶ Catalog and select the desired product to adjust this value for. The extension adds the Prices per Customer tab at the bottom of the page.

Prices per Customer

Click the Search Customer button to show the customer grid in the popup.

Prices per Customer

Pick up the customer’s email by clicking the Select link in the last tab to automatically populate the Customer Email

Prices per Customer

After that the store owner can set either/both a Customer price or/and Customer Special Price. Customer Price replaces the product price with a custom value. Customer Special Price shows a new price together with the original price. The extension supports:

  • Fixed values like 10.99. This replaces the current price with the given value.

  • Fixed surcharges/discounts like ±10.99. This increases/decreases the current price by given value.

  • Percents value like 15%. This replaces the current price with the one that can be calculated as 15% from the initial one.

  • Percents surcharges/discounts like ±15%. This increases/decreases the current price by given percent.

Click the Save Customer Price button after you are ready.

After that, below these settings the grid will show the values.

Prices per Customer

It is possible to add as many customer prices here as needed. All these values will be shown in the grid.

Prices per Customer

In this example, the first client has the fixed discount and the second one has the fixed percent value for the regular price and the fixed value for the special one. The store owner can Edit or Delete the custom prices by clicking the corresponding links in the grid.

Assigning Prices From the Customers Workspace

To set custom prices for different store shoppers from the Customers workspace, the store owner needs to go to CUSTOMERS ⟶ All Customers and select the desired customer to adjust this value for. The extension adds the Customer Price tab.

Prices per Customer

By default, this grid shows the modified prices for this customer. If this customer doesn't have any prices and special prices assigned, the grid will be empty. To add the products, click the Reset Filter or select Any in the dropdown and click the Search button.

Prices per Customer

This grid supports the possibility to filter the products by ID, Name, Type, SKU or Prices.

To assign the price and/or special price, you need to click the checkbox next to the product and populate the Customer Price and Customer Special Price boxes:

Prices per Customer

Click the Save Customer button or Save and Continue Edit link. The grid will show the updated list of the products with the modified prices.

Prices per Customer

To delete the price and/or special price, deselect the checkbox near the product.

Frontend Experience

For instance, the regular product price for the unregistered customer is $34 and some particular user has the fixed customer special price $25 and the 4% customer price discount that is $32.64:

Prices per Customer

On the frontend, this user will observe the customer price $32.64 and the customer special price $25:

Prices per Customer

Customer Prices Import/Export

The extension has the possibility to export the prices per customer and to import them. Log into the Magento Admin panel and go to SYSTEM ⟶ Data Transfer ⟶ Import and Export Customer Prices.

File Downloads Sections Configuration

To check the structure of the CSV document, click the Export button or the Download Example CSV.

The structure of the CSV is as follows:

"User ID","Email","SKU","QTY","User Price","User Special Price"
"1","[email protected]","24-MB01","","4","2"
"2","[email protected]","24-MB01","","-14%","-30%"
"2","[email protected]","24-MB03","","30","20"
"2","[email protected]","24-MB02","","-10","-20"

Each line has only one SKU. The QTY is used for the backward compartibility with the Magento 1 version of this extension and isn't currently used in the Magento 2 version of this extension. The User Price and User Special Price share the same logic that we've already described before: fixed values, fixed discounts, percent values and percent discounts.

If you have our Magento 1 Prices per Customer, you can export the data from Magento 1 and then import the CSV file to Magento 2 installation. For this, log into the Magento 1 admin panel and go to System ⟶ Import/Export ⟶ Prices per Customer ⟶ Export Prices. The Value delimiter should be , and for the Enclose Values In put ".

File Downloads Sections Configuration

Check the exported file on the server. The exported CSV is the one that you should upload to the Magento 2 installation. For the upload of the CSV file, click the Choose File button, select the CSV file and click Import.


The extension allows you to synchronize the customer prices using the CLI (command line interface). It might be helpful if you have a large number of customer prices. In order to synchronize data using CLI you should run the following command:

php bin/magento mageworx-customer-prices:synchronize

Got Questions?

MageWorx offers FREE lifetime support and updates for any extension developed for Magento. Need help with the extensions? Feel free to submit a ticket from

MageWorx offers outstanding services developing custom-tailored solutions for Magento platform to attain your eCommerce objectives. Our professional impassioned team provides profound and custom oriented development of your project in a short timeframe.