$basket = CSaleBasket::GetList(
array("NAME"=>"ASC", "ID"=>"ASC"),
array("FUSER_ID" => CSaleBasket::GetBasketUserID(),"LID" => SITE_ID, "ORDER_ID" => "NULL"),
false,
false,
false
);
while($elem = $basket->getNext()){
'WEIGHT' => $elem['WEIGHT'],
'NOTES'=>$elem['NOTES'],
'DETAIL_PICTURE'=>$elem['DETAIL_PICTURE'],
);
}?>
while($elem = $basket->getNext()){
$el = CIBlockElement::GetList( [], ["ID"=>$elem['PRODUCT_ID']], false, false, ["ID","DETAIL_PICTURE"])->fetch();
if($el['DETAIL_PICTURE']>0) $file = CFile::ResizeImageGet($el['DETAIL_PICTURE'], array('width'=>150, 'height'=>150), BX_RESIZE_IMAGE_PROPORTIONAL, true);
}