• ## Original message

    I’m using this checkout in a few stores and one client complain that the CPF/CNPJ field isn’t to visible, and it’s a required field to proced with the checkout and it doesn’t have the red asterisk.
    Venha usando o plugin em algumas lojas de clientes. Um cliente me reportou que alguns de seus clientes n?o acham o campo de CPF/CNPJ, e é um campo obrigatório porém n?o tem o arterisco vermelho indicando a obrigatoriedade. Quando a pessoa clica em processeguir checkout sem completar o CPF/CNPJ ele da um aviso q o campo n foi completado mas n mostra onde está.

    ## 26/07 – Reply from Luiggi Bellincanta

    Hello Henrique Leszczynski

    This issue is currently under review, we will reply to you as soon as the status changes.

    Best,
    Luiggi

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Diego Versiani

    (@diegoversiani)

    Hi Henrique,

    Required fields not being validated

    When proceeding from the Billing step to the Payment step, that is because the plugin “Brazilian Market for WooCommerce” does not register these fields as required, but validates them as such.

    To fix this issue, please contact the authors of “Brazilian Market for WooCommerce”.

    CPF and CNPJ not prominently visible

    As far as I understand, the users are complaining that the fields (which are in practice required) are hidden behind a link and difficult to find for that reason.

    This is mostly due to the fact that the fields are originally registered as optional, and therefore Fluid Checkout is hiding them behind the link buttons.

    You can use the code snippet below to stop Fluid Checkout from hiding these fields:

    function fluidcheckout_always_display_coupon_code( $skip_list ) {
    	$skip_list[] = 'billing_cpf';
    	$skip_list[] = 'billing_cnpj';
    	return $skip_list;
    }
    add_filter( 'fc_hide_optional_fields_skip_list', 'fluidcheckout_always_display_coupon_code' );

    I hope that helps.

    Best,
    Diego

    Plugin Author Diego Versiani

    (@diegoversiani)

    Hi Luiggi,

    Compatibility with the plugin Brazilian Market on WooCommerce has been added to our most recent version 1.5.1, which is already available to update.

    Best,
    Diego

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Moved] Make CPF/CNPJ fields more visible’ is closed to new replies.