Hello,
I noticed that in the following line of the LengowAddress model:
|
$notPhone = '0000000000'; |
the value 0000000000 is used as a placeholder for phone numbers instead of NULL.
This implementation is causing issues on a PrestaShop site I manage, where a significant number of orders are being populated with 0000000000 in the phone or phone_mobile fields. These placeholder values are interfering with order processing and data validation workflows.
Could you clarify the rationale behind using 0000000000 instead of NULL? If there's no specific requirement for this placeholder, would it be possible to revise the logic to use NULL or leave the field empty when no phone number is available?
Thank you for your attention to this matter.
Hello,
I noticed that in the following line of the LengowAddress model:
plugin-prestashop/classes/models/LengowAddress.php
Line 453 in 42e6587
the value 0000000000 is used as a placeholder for phone numbers instead of NULL.
This implementation is causing issues on a PrestaShop site I manage, where a significant number of orders are being populated with 0000000000 in the phone or phone_mobile fields. These placeholder values are interfering with order processing and data validation workflows.
Could you clarify the rationale behind using 0000000000 instead of NULL? If there's no specific requirement for this placeholder, would it be possible to revise the logic to use NULL or leave the field empty when no phone number is available?
Thank you for your attention to this matter.