testeando el notify

This commit is contained in:
2025-11-03 19:31:28 +01:00
parent 88650fc5e8
commit 725cff9b51
10 changed files with 716 additions and 226 deletions

View File

@ -133,6 +133,7 @@ $(() => {
const html = await response.text();
$('#direccion-div').append(html);
$('#addBillingAddressBtn').addClass('d-none');
$('#btn-checkout').prop('disabled', false);
hideLoader();
return true;
}
@ -149,6 +150,13 @@ $(() => {
const $div = $card.parent();
$card.remove();
$('#addBillingAddressBtn').removeClass('d-none');
$('#btn-checkout').prop('disabled', true);
});
$('input[name="paymentMethod"]').on('change', function() {
const method = $(this).val();
// set the hidden input value in the form
$('input[name="method"]').val(method);
});
});