Este producto no está disponible en este momento debido a pedidos pendientes.

document.addEventListener("DOMContentLoaded", function () { var fieldsToValidate = [ 'billing_first_name', 'billing_address_1', 'billing_address_2', 'billing_city', 'select2-billing_state-container', 'billing_postcode', 'billing_phone', 'billing_email', 'type_document_facturante', 'billing_dni_facturante' ]; fieldsToValidate.forEach(function (fieldId) { var field = document.getElementById(fieldId); field.addEventListener('focus', function () { // Al enfocar, el borde se vuelve verde field.style.borderColor = "green"; }); field.addEventListener('blur', function () { // Al salir del campo, verifica si está vacío y establece el borde en rojo si es necesario if (field.value.trim() === "") { field.style.borderColor = "red"; } }); }); });