D
D
dmitryIG2016-08-30 15:20:14
PHP
dmitryIG, 2016-08-30 15:20:14

How to display the properties of a catalog infoblock in the Yandex.Market export file?

Good afternoon. Now I am engaged in customization of export to Yandex.Market. I want to add a new tag in xml of vendor type - product brand. Added a new property BREND to the infoblock, but it is not possible to display it in the xml file. Tell me how to get the infoblock value here /bitrix/modules/catalog/load/yandex_run.php. Perhaps it needs to be connected?
Tried to do so

$brand_value=$arResult["DISPLAY_PROPERTIES"]["BRAND"]["VALUE"];
     $strTmpOff.= "<vendor>".yandex_text2xml($brand_value, true)."</vendor>\n";

Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question