на автомате из свойства инфоблока
ставим в 3 или 4 местах в файлике yandex_run.php
ставим в 3 или 4 местах в файлике yandex_run.php
Код |
---|
case 'sales_notes': $db_props = CIBlockElement::GetProperty(9, $arAcc["ID"], "sort", "asc", Array("CODE"=>"Predoplata")); if($ar_props = $db_props->Fetch()){ $hit=$ar_props["VALUE"]; } $strTmpOff .= "<sales_notes>".yandex_text2xml($hit)."</sales_notes>\n"; //echo "<pre>"; print_r($arAcc); echo "</pre>"; break; |