Решение:
Код |
---|
<? global $USER_FIELD_MANAGER; $aSection = CIBlockSection::GetList( array(), array( 'IBLOCK_CODE' => 'clothes', 'CODE' => 'dresses', ) )->Fetch(); if( !$aSection ) { throw new Exception( 'Секция не найдена' ); } $USER_FIELD_MANAGER->Update( 'IBLOCK_2_SECTION', $aSection['ID'], array( 'UF_MIN_PRICE_SECTION' => '117' ) ); // boolean ?> |