$dbBasketItems = CSaleBasket::GetList( array( "NAME" => "ASC", "ID" => "ASC" ), array( "FUSER_ID" => CSaleBasket::GetBasketUserID(), "LID" => SITE_ID, "ORDER_ID" => "NULL" ), false, false, array("ID", "NAME", "DETAIL_PAGE_URL", "DETAIL_PICTURE") );
Add2BasketByProductID( $PRODUCT_ID, 1, array( array("NAME" => "Картинка", "CODE" => "DETAIL_PICTURE", "VALUE" => "1.jpg") ) );