DESCRIPTION
This functionality has been implemented for the following purposes:
1. to verify the phone number, because there are situations when customers specify their phone number incorrectly and it is not possible to reach them.,
2. for those users who have not logged in to their personal account on the Checkout page. The system will ask you to verify the phone number via an SMS code. After confirmation, the site checks and if such a phone number is already in the database, it authorizes the user and he continues to place an order from his personal account.
3. If there is no profile with this phone number in Bitrix, then the system registers it when placing an order.