Answer the question
In order to leave comments, you need to log in
How to withdraw goods in Bitrix?
Tell me how to create a separate page in Bitrix, where all the products in the table will be: name, article, quantity with a choice and price.
Answer the question
In order to leave comments, you need to log in
CModule::IncludeModule('iblock');
$arFilter = Array("IBLOCK_ID"=>"$IBLOCK_ID", "ACTIVE_DATE"=>"Y", "ACTIVE"=>"Y", 'INCLUDE_SUBSECTIONS'=>'Y', );
$res = CIBlockElement::GetList(Array(), $arFilter, false, false, array());
while ($ob = $res->GetNextElement())
{
$arr = $ob->GetFields();
$arr["PROPERTIES"] = $ob->GetProperties();
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question