Starting in Summer ’24, the High Scale Orders feature requires a Person Account
duplicate rule for guest users. This duplicate rule is required for B2B stores created
with the LWR template. When a guest user places an order, the rule determines whether a Person
Account record exists for the guest user. If a matching record exists, the system uses the
record. Otherwise, the system creates a record for the guest user. If you don’t create a Person
Account duplicate rule, the system creates a Person Account record for every order by every
guest user, potentially resulting in a large number of duplicate records.
Required Editions
Which
Salesforce Commerce Product Do I Have?
Before Summer ’24, B2B stores created with the LWR template used an implicit
duplicate rule that checked the values of these four Person Account fields.
- First Name
- Last Name
- Phone
- Email
This implicit rule considered a record a duplicate if all four fields were an exact match
with an existing record. Otherwise, the system created a record.
To replicate this behavior, create a Person Account duplicate rule that specifies, at a
minimum, the same four fields with the same matching criteria.
-
Click
at the top of the page, and then select Setup.
-
In the Quick Find box, find and select Duplicate Rules.
-
Click New Rule, and then select Person
Account.
-
Specify a rule name, desired actions, and optional conditions.
-
For the Action on Create, deselect the Alert checkbox. Alert
on create is unsupported because person accounts are created asynchronously after an
order is placed.
-
For the Matching Rule, select --Create New Matching
Rule--.
The system displays a message prompting you to save your duplicate rule and
redirecting you to create a matching rule.
-
Click Save Duplicate Rule.
The system displays a partially completed matching rule, which is associated with the
duplicate rule that you saved.
-
Specify matching criteria for the First Name, Last Name, Email, and Phone fields, with
the Exact matching method specified for all four fields.
You can optionally specify additional fields and different matching methods for the
additional fields.
-
Click Save.
The system displays details for the matching rule that you created.
-
Click Activate.
-
From Setup, in the Quick Find box, enter Duplicate Rules, and
then select Duplicate Rules.
-
Click the duplicate rule that you created.
-
Click Activate.