Al comprar este producto, puede ganar una cantidad de puntos. Llegará a conocer la información sobre cómo ganar puntos una vez que agregue el producto al carrito.
ORO METALIZADO PLA PrintaLot x1KG Filamento 3D DIAMETRO 1,75mm
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";
}
});
});
});