Answer the question
In order to leave comments, you need to log in
"Unknown property group" in CRM Bitrix?
I create an order via the API, and an unknown group of properties is taken from somewhere.
I tried to remove the addition of properties, nothing has changed. I add properties like this:
$propsColl = $order->getPropertyCollection();
$order->setField('COMMENTS', 'Это быстрый заказ. Нужно перезвонить клиенту.');
$phoneProp = $propsColl->getPhone();
$phoneProp->setValue($phone);
$nameProp = $propsColl->getPayerName();
$nameProp->setValue($name);
$emailProp = $propsColl->getUserEmail();
$emailProp->setValue($email);
Answer the question
In order to leave comments, you need to log in
when creating an order, specify the type of payer $order->setPersonTypeId($personTypeId);
Also, check the groups of properties of the order, suddenly there is a group called "Unknown group of properties"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question