if ($allSum < 500) {
echo "Сумма менее 500 рублей"; {
} else
$arResult["allSum"] = $allSum;
$arResult["allWeight"] = $allWeight;
$arResult["allSum_FORMATED"] = SaleFormatCurrency($allSum, $allCurrency);
$arResult["DISCOUNT_PRICE_FORMATED"] = SaleFormatCurrency($arResult["DISCOUNT_PRICE"], $allCurrency);
if ($arParams['PRICE_VAT_SHOW_VALUE'] == 'Y')
{
$arResult["allVATSum"] = $allVATSum;
$arResult["allVATSum_FORMATED"] = SaleFormatCurrency($allVATSum, $allCurrency);
$arResult["allSum_wVAT_FORMATED"] = SaleFormatCurrency($arResult["allSum_wVAT"], $allCurrency);
} |