Extension: CustomerPrice
-
Extension Name: ext.magento2.cleverzoeger.customer-price (CleverZoeger_CustomerPrice)
-
Shop Link: https://shop.clever-zoeger.de/customer-price-m2.html
-
Magento Compatibility: 2.4.6, 2.4.5, 2.4.4
-
PHP Compatibility: 8.1, 8.2, 8.3, 8.4
This Magento extension enables personalised prices for customers. Customised discounts per customer. Maximise your sales and customer satisfaction by offering personalised prices.
Implementation
To set up Customer Price, please go to System → Configuration → CLEVER+ZÖGER GMBH → Customer Price
Backend: Configuration
The submenu "Customer Price Configuration" redirects you to the general settings.
-
This Subsection allows to set the Customer Price options.
-
enable to use Customer Price Extension
-
Special Price: You can use Customer Price as Special price
-
Ignore Customer Price: If the product already has a special price, you can set whether the customer price should be displayed or not.
-
Customer Price can be displayed as "Your Price": You can set own frontend prefix for “Your Price”
-
Customer price displayed as “Your price from” for Configurable Products: You can set own frontend prefix for “Your Price”. For configurable products, the most favourable product is displayed with "Your Price" As soon as the customer configures the product, displayed as "Your Price" is removed
-
REST API Mapping settings
If you use a REST API interface, you can perform the mapping here. Here it is possible to configure remappings if your shop has other identifier fields
-
company ID reference field: The customer attribute that holds the company ID used to match customers during the CSV import described in the "CSV Import: Customer Discounts" section below.
Endpoints
Endpoint |
Method |
Data |
Description |
V1/cleverzoeger-customerprice/customerprice/search?searchCriteria[filter_groups] |
GET |
List All Prices |
|
V1/cleverzoeger-customerprice/customerprice/search?searchCriteria[filter_groups][0][filters][0][field]=from_qty&searchCriteria[filter_groups][0][filters][0][value]=1 |
GET |
Filter Prices |
|
V1/cleverzoeger-customerprice/customerprice |
POST |
{ Example: |
Insert new Prices |
Set Customer Price
Add new Customer Price
-
The Subsection Price List allows to set the Customer Price.
-
You can select or insert:
-
customer ID
-
group ID
-
product ID
-
price
-
-
-
Pleas notice: If you set group ID (e.g. Retailer) and Customer ID, the customer must be linked to the correct group. You can also leave Group ID empty and only set Customer ID.
-
After saving, you’ll find the Customer Price in the overview.
CSV Import: Customer Discounts
As an alternative to maintaining prices manually, customer discounts (as a percentage, applied catalog-wide) and company IDs can be imported in bulk from a CSV file. This is intended for shops that already manage per-customer discount conditions in an external system (e.g. an ERP export).
-
The customer attribute configured as the company ID reference field (see "REST API Mapping settings" above) is used together with the customer’s email address to match a CSV row to a Magento customer.
-
If a Magento customer already has a company ID that matches the CSV row, the discount percentage is updated.
-
If a Magento customer has no company ID yet but is found via email, the company ID is added automatically once the company name and city match the customer’s default billing address; otherwise the row is skipped and reported for manual review.
-
If a Magento customer’s company ID does not match the CSV row found via email, or a Magento customer’s company ID is not present in the CSV at all, nothing is changed automatically — the row is written to a report instead.
-
Rows that could not be processed automatically are collected in a report CSV under
var/cleverzoeger_customerprice/import-reports/.
Automatic Import (Cron)
CSV files placed into var/customerprice are picked up automatically every 15 minutes. A found file is first moved to var/customerprice/processing while it is being imported, then moved on to var/customerprice/done on success or var/customerprice/failed (and logged) if the import fails.
Frontend
-
Front view without logging into the customer account. The customer price is not displayed.

















