• Só falta remover os caracteres especiais do input de CEP no carrinho:

    jQuery(document).ready(function($) {
    $(‘.woocommerce form .form-row input#calc_shipping_postcode’).on(‘change’, function(e){
    e.preventDefault();
    console.log(event.target.value.replace(/[^\w\s]/gi, ”));
    $(‘.woocommerce form .form-row input#calc_shipping_postcode’).value = e.target.value.replace(/[^\w\s]/gi, ”);
    });
    });

  • The topic ‘Muito bom’ is closed to new replies.