Answer the question
In order to leave comments, you need to log in
How to edit custom properties when importing Bitrix?
To be honest, I already cursed the day when I agreed to help my friends with the site on Bitrix. I googled and searched for a long time in the documentation, but did not find a solution to the obvious question:
I hang the AddEventHandler("iblock", "OnBeforeIBlockElementAdd", "test"); when importing csv
function test(&$arFields) {
header('Content-Type: application/json');
echo (json_encode($arFields)); exit;
}
Gives me the standard infoblock properties, how can I perform operations with custom ones that I added myself?
(I'm attaching the json output)
And the second question, how can I even operate with the request / post data?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question