Код |
---|
$db_props = CIBlockElement::GetProperty("7", $arBasketItems["PRODUCT_ID"], "sort", "asc", Array("CODE"=>"CML2_ATTRIBUTES")); while($ar_props = $db_props->Fetch()) { if($ar_props["DESCRIPTION"] && $ar_props["VALUE"]) { echo "".$ar_props["DESCRIPTION"]."-".$ar_props["VALUE"].""; } } |