mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-03-01 19:03: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;
|
||||
} else {
|
||||
$crmCustomer = RetailcrmTools::mergeCustomerAddress($customer, $this->buildRegularAddress());
|
||||
if (isset($crmCustomer['tags'])) {
|
||||
unset($crmCustomer['tags']);
|
||||
}
|
||||
|
||||
$response = $this->api->customersEdit($crmCustomer);
|
||||
|
||||
if ($response instanceof RetailcrmApiResponse && $response->isSuccessful()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user