Fix bug in updating order number by history
This commit is contained in:
parent
a12bdf7a74
commit
54992c9904
@ -1,3 +1,9 @@
|
||||
## 2022-03-24 4.4.3
|
||||
* Fix bug in updating order number by history
|
||||
* Add multiple image transfer in ICML
|
||||
* Add filters for custom fields
|
||||
* Fix bug with create/update customer
|
||||
|
||||
## 2022-02-24 4.4.2
|
||||
* Delete deprecated API V4. Refactoring API V5 and history getting method
|
||||
* Fix bug with use xmlId
|
||||
|
@ -245,7 +245,6 @@ if (!class_exists('WC_Retailcrm_History')) :
|
||||
);
|
||||
|
||||
$this->updateMetaData($customFields, $order, $wcOrder);
|
||||
}
|
||||
|
||||
$wcOrderNumber = $wcOrder->get_order_number();
|
||||
|
||||
@ -254,11 +253,12 @@ if (!class_exists('WC_Retailcrm_History')) :
|
||||
&& isset($this->retailcrmSettings['update_number'])
|
||||
&& $this->retailcrmSettings['update_number'] == WC_Retailcrm_Base::YES
|
||||
) {
|
||||
$order['number'] = $wcOrderNumber;
|
||||
|
||||
$this->retailcrm->ordersEdit($order, 'id');
|
||||
$this->retailcrm->ordersEdit(
|
||||
['id' => $order['id'], 'number' => $wcOrderNumber],
|
||||
'id'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// @codeCoverageIgnoreStart
|
||||
} catch (Exception $exception) {
|
||||
WC_Retailcrm_Logger::add(
|
||||
|
@ -5,7 +5,7 @@ Tags: Интеграция, Simla.com, simla
|
||||
Requires PHP: 5.6
|
||||
Requires at least: 5.3
|
||||
Tested up to: 5.9
|
||||
Stable tag: 4.4.2
|
||||
Stable tag: 4.4.3
|
||||
License: GPLv1 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-1.0.html
|
||||
|
||||
@ -82,6 +82,12 @@ Asegúrate de tener una clave API específica para cada tienda. Las siguientes i
|
||||
|
||||
|
||||
== Changelog ==
|
||||
= 4.4.3 =
|
||||
* Fix bug in updating order number by history
|
||||
* Add multiple image transfer in ICML
|
||||
* Add filters for custom fields
|
||||
* Fix bug with create/update customer
|
||||
|
||||
= 4.4.2 =
|
||||
* Delete deprecated API V4. Refactoring API V5 and history getting method
|
||||
* Fix bug with use xmlId
|
||||
|
@ -5,7 +5,7 @@
|
||||
* Description: Integration plugin for WooCommerce & Simla.com
|
||||
* Author: RetailDriver LLC
|
||||
* Author URI: http://retailcrm.pro/
|
||||
* Version: 4.4.2
|
||||
* Version: 4.4.3
|
||||
* Tested up to: 5.9
|
||||
* WC requires at least: 5.4
|
||||
* WC tested up to: 6.2
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @link https://wordpress.org/plugins/woo-retailcrm/
|
||||
*
|
||||
* @version 4.4.2
|
||||
* @version 4.4.3
|
||||
*
|
||||
* @package RetailCRM
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user