Answer the question
In order to leave comments, you need to log in
How to output GetPropertyValues in result_modifer and template?
It is necessary to display the property of the element BXR_PRICE and BXR_PRICE2
I write in result:
$iterator = CIBlockElement::GetPropertyValues(48, array('ACTIVE' => 'Y'), true, array('CODE' => array(BXR_PRICE, BXR_PRICE_2)) );
while ($row = $iterator->Fetch())
{
print_r($row);
}
Doesn't work, and how to display it in template? Thanks a lot
Answer the question
In order to leave comments, you need to log in
How to display in template:
In your code:
while ($row = $iterator->Fetch())
{
$arResult['SOMESHIT'][] = $row;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question