1
0
mirror of synced 2025-01-18 00:41:43 +03:00

fixed customer phone sending to crm

This commit is contained in:
KMityai 2023-06-27 17:28:16 +03:00
parent e4735a255e
commit 578bcb63a2

View File

@ -393,7 +393,7 @@ if (!class_exists('WC_Retailcrm_Customers')) :
}
if (empty($billingPhone)) {
$order->get_billing_phone();
$billingPhone = $order->get_billing_phone();
}
}
@ -415,7 +415,7 @@ if (!class_exists('WC_Retailcrm_Customers')) :
if (!empty($billingPhone)) {
$customerData['phones'][] = [
'number' => $customer->get_billing_phone()
'number' => $billingPhone
];
}