<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
if($_POST["delay_prod"]!='')
{
CModule::IncludeModule("sale");
$arFields = array("DELAY" => "Y");
CSaleBasket::Update(IntVal($_POST["delay_prod"]), $arFields);
echo "1";
}
else
{echo "0";}
?> |