Boss The Scent Hugo Boss
Boss The Scent Hugo Boss
Boss The Scent Hugo Boss
Boss The Scent Hugo Boss
  • -36,9%
Boss The Scent Hugo Boss
Boss The Scent Hugo Boss
Boss The Scent Hugo Boss
Boss The Scent Hugo Boss

Boss The Scent Hugo Boss

70,80 € 112,20 € -36,9%
Impuestos incluidos
{ let psgdpr_id_module = "136"; let parentForm = $('.gdpr_module_' + psgdpr_id_module).closest('form'); let toggleFormActive = function() { let parentForm = $('.gdpr_module_' + psgdpr_id_module).closest('form'); let checkbox = $('#psgdpr_consent_checkbox_' + psgdpr_id_module); let element = $('.gdpr_module_' + psgdpr_id_module); let iLoopLimit = 0; // by default forms submit will be disabled, only will enable if agreement checkbox is checked if (element.prop('checked') != true) { element.closest('form').find('[type="submit"]').attr('disabled', 'disabled'); } $(document).on("change" ,'.psgdpr_consent_checkboxes_' + psgdpr_id_module, function() { if ($(this).prop('checked') == true) { $(this).closest('form').find('[type="submit"]').removeAttr('disabled'); } else { $(this).closest('form').find('[type="submit"]').attr('disabled', 'disabled'); } }); } // Triggered on page loading toggleFormActive(); $(document).on('submit', parentForm, function(event) { $.ajax({ type: 'POST', url: psgdpr_front_controller, data: { ajax: true, action: 'AddLog', id_customer: psgdpr_id_customer, customer_token: psgdpr_customer_token, id_guest: psgdpr_id_guest, guest_token: psgdpr_guest_token, id_module: psgdpr_id_module, }, error: function (err) { console.log(err); } }); }); }); } catch(err) {} document.addEventListener('DOMContentLoaded', function() { let psgdpr_id_module = "136"; let parentForm = $('.gdpr_module_' + psgdpr_id_module).closest('form'); let toggleFormActive = function() { let parentForm = $('.gdpr_module_' + psgdpr_id_module).closest('form'); let checkbox = $('#psgdpr_consent_checkbox_' + psgdpr_id_module); let element = $('.gdpr_module_' + psgdpr_id_module); let iLoopLimit = 0; // by default forms submit will be disabled, only will enable if agreement checkbox is checked if (element.prop('checked') != true) { element.closest('form').find('[type="submit"]').attr('disabled', 'disabled'); } $(document).on("change" ,'.psgdpr_consent_checkboxes_' + psgdpr_id_module, function() { if ($(this).prop('checked') == true) { $(this).closest('form').find('[type="submit"]').removeAttr('disabled'); } else { $(this).closest('form').find('[type="submit"]').attr('disabled', 'disabled'); } }); } // Triggered on page loading toggleFormActive(); $(document).on('submit', parentForm, function(event) { $.ajax({ type: 'POST', url: psgdpr_front_controller, data: { ajax: true, action: 'AddLog', id_customer: psgdpr_id_customer, customer_token: psgdpr_customer_token, id_guest: psgdpr_id_guest, guest_token: psgdpr_guest_token, id_module: psgdpr_id_module, }, error: function (err) { console.log(err); } }); }); });

16 otros productos en la misma categoría:

Productos más vistos