$arFields = array(
"PRODUCT_ID" => $_REQUEST["PRODUCT_ID"],
"PRICE" => $_REQUEST["PRICE"],
"CURRENCY" => "RUR", //$_REQUEST["CURRENCY"],
"QUANTITY" => $kolvo,
"LID" => LANG,
"NAME" => $_REQUEST["NAME"]." R",
"DETAIL_PAGE_URL" => $_SERVER['HTTP_REFERER']
);
$arProps = array();
$arProps[] = array(
"NAME" => "Цветовые варианты",
"CODE" => "colors",
"VALUE" => "Клен"
);
$arFields["PROPS"] = $arProps;
CSaleBasket::Add($arFields); |