$arFields = array(
"PRODUCT_ID" => $_POST["id"],
"NAME" => htmlspecialchars_decode($name),
"PRICE" => $price,
"CURRENCY" => "RUB",
"ORDER_ID" => $_POST["order"],
"LID" => "s1",
"QUANTITY" => 1
);
$basketID = CSaleBasket::Add($arFields);