Настраиваем композит.
В лог файл попадает следующее значение
Host: ***.ru
Date: 2014-11-17 17:22:01
Module: composite
RestartBuffer method was invoked
Request URI: /catalog/раздел/елемент/?action=ADD2BASKET&id=34715&ajax_buy=1
Script: /catalog/index.php
Bitrix\Main\Page\Frame::onBeforeRestartBuffer < call_user_func_array < ExecuteModuleEventEx < CAllMain::RestartBuffer < BasketLineAjaxResponse
/var/www/****/data/www/****.ru/bitrix/modules/main/classes/general/module.php:461
/var/www/****/data/www/****.ru/bitrix/modules/main/classes/general/main.php:3227
/var/www/****/data/www/****.ru/bitrix/templates/eshop_green/components/bitrix/sale.basket.basket.line/korzina/component_epilog.php:27
как с этим моментом разобраться?
тут component_epilog.php:27 лежит функция
function BasketLineAjaxResponse(){
global $APPLICATION;
$APPLICATION->RestartBuffer();
$APPLICATION->IncludeComponent("bitrix:sale.basket.basket.line", ".default", $GLOBALS['BASKET_RESPONSE_AJAX_PARAMS'], false, array('HIDE_ICONS' => 'Y'));
die();
}
В лог файл попадает следующее значение
Host: ***.ru
Date: 2014-11-17 17:22:01
Module: composite
RestartBuffer method was invoked
Request URI: /catalog/раздел/елемент/?action=ADD2BASKET&id=34715&ajax_buy=1
Script: /catalog/index.php
Bitrix\Main\Page\Frame::onBeforeRestartBuffer < call_user_func_array < ExecuteModuleEventEx < CAllMain::RestartBuffer < BasketLineAjaxResponse
/var/www/****/data/www/****.ru/bitrix/modules/main/classes/general/module.php:461
/var/www/****/data/www/****.ru/bitrix/modules/main/classes/general/main.php:3227
/var/www/****/data/www/****.ru/bitrix/templates/eshop_green/components/bitrix/sale.basket.basket.line/korzina/component_epilog.php:27
как с этим моментом разобраться?
тут component_epilog.php:27 лежит функция
function BasketLineAjaxResponse(){
global $APPLICATION;
$APPLICATION->RestartBuffer();
$APPLICATION->IncludeComponent("bitrix:sale.basket.basket.line", ".default", $GLOBALS['BASKET_RESPONSE_AJAX_PARAMS'], false, array('HIDE_ICONS' => 'Y'));
die();
}