Automatic assignment

Price Lists can match customers using a customer attribute, an address attribute, or a combination of both. This allows rules such as a dealer class plus billing country without maintaining every customer assignment by hand.

Configure matching

  1. Edit the price list.
  2. Choose the customer attribute and expected value, if needed.
  3. Choose the address attribute and expected value, if needed.
  4. Set whether both conditions must match.
  5. Enable automatic assignment under Stores > Configuration > MageB2B > Pricesystem.

The strict comparison setting also checks value types. Use it only when the stored customer data is consistent with the configured comparison value.

Test before enabling it broadly

Prepare at least these cases:

  • a customer who should match;
  • a customer who should not match;
  • a customer with a missing address value;
  • a customer whose value differs only by formatting or type.

Review the assigned list and storefront price for each case. Manual customer and group assignments remain available for exceptions or contracts that should not depend on profile data.