$('.order').click(function(){
//Здесь сделайте проверку на заполнение поля ИМЯ, иначе return false; *Введите имя*
//Перед отправкой ajax передавайте цель в метрику вот так
yaCounterXXXXX.reachGoal('Order')
$.ajax({
type: "POST",
url: "/ajax/ajax_product.php",
beforeSend: function () {
$('.o-content').empty();
},
success: function (data) {
$('.o-content').append(data);
$('#SUBMIT_ORDER').click(sendSubmit);
$('.popup-online').fadeIn(300);
$('.modalWindow').fadeIn();
}
});
});
let basket_id = $("div[id*='basket_count_-']").attr("id");
<tbody>
<tr>
<th scope="row">0</th>
<td>Заправка для риса 0,47 л.</td>
<td>60</td>
<td><input value="60" min="60" max="500" type="number" data-id-product="3739" data-min-product="60" class="basket_count" id="basket_count_3739"></td>
<td>1700</td>
<td id="sum-personal-basket-3739">102000</td>
</tr>
<tr>
<th scope="row">1</th>
<td>Заправка для риса 0,24 л.</td>
<td>50</td>
<td><input value="50" min="50" max="500" type="number" data-id-product="3738" data-min-product="50" class="basket_count" id="basket_count_3738"></td>
<td>1500</td>
<td id="sum-personal-basket-3738">75000</td>
</tr>
</tbody>
Oct 28 13:50:51 bitrix372 apache_error[100036]: mona-liza.com [Fri Oct 28 13:50:51 2022] [error] [pid 85513] sapi_apache2.c(349): [client 176.115.199.18:56490] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
Oct 28 13:52:45 bitrix372 apache_error[100036]: mona-liza.com [Fri Oct 28 13:52:45 2022] [error] [pid 64355] sapi_apache2.c(349): [client 176.115.199.18:56144] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
Oct 28 14:30:59 bitrix372 apache_error[100036]: mona-liza.com [Fri Oct 28 14:30:59 2022] [error] [pid 74030] sapi_apache2.c(349): [client 217.107.97.213:54712] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
// bitrix/.settings.php
return [
//...
'session' => [
'value' => [
'mode' => 'default',
'handlers' => [
'general' => [
'type' => 'file',
]
],
]
]
];