1
0
mirror of synced 2025-02-20 08:53:14 +03:00

Fixed customer phone sending to CRM when order will create by guest

This commit is contained in:
Uryvskiy Dima 2023-07-04 16:25:13 +03:00 committed by GitHub
commit df0b6a6c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,6 @@
## 2023-06-27 4.6.7
* Fixed customer phone sending to crm when order will create by guest
## 2022-06-14 4.6.6
* Added handling of fatal errors when working with abandoned carts

View File

@ -1 +1 @@
4.6.6
4.6.7

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
];
}

View File

@ -5,7 +5,7 @@ Tags: Интеграция, Simla.com, simla
Requires PHP: 7.0
Requires at least: 5.3
Tested up to: 6.0
Stable tag: 4.6.6
Stable tag: 4.6.7
License: GPLv1 or later
License URI: http://www.gnu.org/licenses/gpl-1.0.html
@ -82,6 +82,9 @@ Asegúrate de tener una clave API específica para cada tienda. Las siguientes i
== Changelog ==
= 4.6.7 =
* Fixed customer phone sending to crm when order will create by guest
= 4.6.6 =
* Added handling of fatal errors when working with abandoned carts

View File

@ -5,7 +5,7 @@
* Description: Integration plugin for WooCommerce & Simla.com
* Author: RetailDriver LLC
* Author URI: http://retailcrm.pro/
* Version: 4.6.6
* Version: 4.6.7
* Tested up to: 6.0
* WC requires at least: 5.4
* WC tested up to: 6.9

View File

@ -16,7 +16,7 @@
*
* @link https://wordpress.org/plugins/woo-retailcrm/
*
* @version 4.6.6
* @version 4.6.7
*
* @package RetailCRM
*/