Last active
November 1, 2019 11:35
-
-
Save Pum-purum/ba8e4918218ea37523c1a7335d673ab6 to your computer and use it in GitHub Desktop.
bitrix property setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CIBlockElement::SetPropertyValuesEx($ELEMENT_ID, $arParams["IBLOCK_ID"], array( | |
"vote_count" => array( | |
"VALUE" => $arProperties["vote_count"]["VALUE"], | |
"DESCRIPTION" => $arProperties["vote_count"]["DESCRIPTION"], | |
), | |
"vote_sum" => array( | |
"VALUE" => $arProperties["vote_sum"]["VALUE"], | |
"DESCRIPTION" => $arProperties["vote_sum"]["DESCRIPTION"], | |
), | |
"rating" => array( | |
"VALUE" => $arProperties["rating"]["VALUE"], | |
"DESCRIPTION" => $arProperties["rating"]["DESCRIPTION"], | |
), | |
)); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment