fixed customer phone sending to crm
This commit is contained in:
parent
e4735a255e
commit
578bcb63a2
@ -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
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user