On this page
  1. Customer account download
  2. Customer matching
  3. Priority resolution
  4. Duplicate validation

Configure Product-Customer Matrix

Open Stores > Configuration > MageB2B > Pricesystem and find the Product Customer Matrix section.

Customer account download

Enable the download link if customers should export matrix prices. Download Mode can produce one combined file or separate files per matrix. Set the CSV delimiter and enclosure to match the customer's spreadsheet workflow.

Customer matching

Additional Customer Attribute selects the customer attribute used for attribute-based matrix matching. The default is group_id, which reads the customer's Magento customer group. The standard fields firstname, lastname and email use their corresponding customer values; other configured attributes are read from the customer's custom attributes.

The module ships its own customer attribute procustmatrix_customer_group (label Product Customer Matrix Group, editable on the admin customer form), which is the intended use case for this setting: store a group value on the customer and enter the same value as the matrix's customer attribute value. A product attribute procustmatrix_product_group is installed as well and can be used in product conditions.

procustmatrix_customer_group is a protected attribute: writing it through custom_attributes is restricted — only admin and integration API tokens may set it, while customer and guest tokens get rejected on customer API writes. Maintain it in the Admin or through an integration; see Protected customer attributes for the shared mechanism.

Only choose an attribute whose values are populated consistently. A blank or unexpected value changes which matrices match.

Priority resolution

Mode Result
Direct assignment first A direct customer assignment wins over an attribute match; priority breaks ties within the same assignment type
Global priority The higher matrix priority wins, regardless of assignment type

Direct assignment first is the default and works well for customer-specific exceptions to group-based pricing.

Duplicate validation

Custom Matrix Validation adds stricter checks for duplicate matrices and overlapping dates involving customer or attribute assignments. Enable it when the data model should reject these overlaps rather than resolve them through priority.

Shared calculation settings are documented under Pricesystem configuration.

Display preferences

Adjust how this website is displayed. Changes apply immediately.

Text size
Text spacing
Reading aids

Follows the pointer. Move it with Alt + Up/Down outside input fields. Hidden while a dialog is open.

Uses the voices provided by your browser, which may use an online service. Reading starts only when you press Read aloud.

Your choices are saved in this browser for this website.