1
0
Fork 0
mirror of synced 2025-04-06 07:13:33 +03:00

sync phone via history

This commit is contained in:
Pavel 2020-06-09 17:40:22 +03:00
parent 7ed4345100
commit 41b47ef5c4

View file

@ -404,10 +404,14 @@ if ( ! class_exists( 'WC_Retailcrm_History' ) ) :
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> sync phone via history
if (isset($order['phone'])) {
$wc_order->set_billing_phone($order['phone']);
}
<<<<<<< HEAD
if (isset($order['email'])) {
$wc_order->set_billing_email($order['email']);
}
@ -417,6 +421,8 @@ if ( ! class_exists( 'WC_Retailcrm_History' ) ) :
=======
=======
=======
>>>>>>> sync phone via history
$this->handleCustomerDataChange($wc_order, $order);
>>>>>>> Fixes, customer change logic for legal entities & individual persons (contact person will be used in the second case)