mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-03-02 19:33:14 +03:00
Omitting customer tags while merging the address
This commit is contained in:
parent
1206634b9c
commit
d4982bb7cb
@ -256,6 +256,10 @@ class RetailcrmOrderBuilder
|
|||||||
$customer = $this->createdCustomer;
|
$customer = $this->createdCustomer;
|
||||||
} else {
|
} else {
|
||||||
$crmCustomer = RetailcrmTools::mergeCustomerAddress($customer, $this->buildRegularAddress());
|
$crmCustomer = RetailcrmTools::mergeCustomerAddress($customer, $this->buildRegularAddress());
|
||||||
|
if (isset($crmCustomer['tags'])) {
|
||||||
|
unset($crmCustomer['tags']);
|
||||||
|
}
|
||||||
|
|
||||||
$response = $this->api->customersEdit($crmCustomer);
|
$response = $this->api->customersEdit($crmCustomer);
|
||||||
|
|
||||||
if ($response instanceof RetailcrmApiResponse && $response->isSuccessful()) {
|
if ($response instanceof RetailcrmApiResponse && $response->isSuccessful()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user