Add buy-by-phone-form

This commit is contained in:
Roman Pyrih
2026-01-14 09:35:45 +01:00
parent 0751588e2e
commit b71ee93e55
77 changed files with 10442 additions and 27 deletions

View File

@@ -606,12 +606,15 @@ $(document).ready(function () {
url: '/buy-by-phone.php',
data: formData,
success: function (response) {
console.log('formData: ', formData)
popupAlert(response)
$('#buy-by-phone-form-btn').prop('disabled', false)
setTimeout(function () {
buyByPhonePopup.removeClass('active')
}, 5000)
},
error: function () {
popupAlert('<p>Wystąpił błąd podczas wysyłania danych</p>')
$('#buy-by-phone-form-btn').prop('disabled', false)