Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FRW-9013 Updated customer management integration guide. #2958

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,27 @@ class CustomerConfig extends SprykerCustomerConfig
}
```

4. Optional: To speed-up the query response time for the customer registration, adjust the `CustomerConfig::isCustomerEmailValidationCaseSensitive()` to return `true`:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please describe drawbacks of this action if we have any

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are no drawbacks, just query response time optimisation, which was already described

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should mention that this is required to be set to false on "big" production databases, where the amount of customers is more than 1k (guesstimate), we also should explain what is the difference in behaviour here


```php
<?php

namespace Pyz\Zed\Customer;

use Spryker\Zed\Customer\CustomerConfig as SprykerCustomerConfig;

class CustomerConfig extends SprykerCustomerConfig
{
/**
* @return bool
*/
public function isCustomerEmailValidationCaseSensitive(): bool
{
return true;
}
}
```

{% info_block warningBox "Verification" %}

Make sure that the double opt-in is enabled by registering a new customer and receiving an email to confirm the registration.
Expand Down
Loading