Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter pfurlan

    (@pfurlan)

    what kind of type i use on mailchimp? Text, number, drop down?
    default form of woocommerce does some juggle with the form.
    it use some fancy js with div, but the select is there, hidden.

    <select name="billing_state" id="billing_state" class="state_select " placeholder="" tabindex="-1" title="Estado" style="display: none;">
    <option value="wh">wherever</option>
    <option value="wn">whenever</option>
    ...
    </select>

    may i ask why won’t work use the ‘billing_state’ with the ‘drop down’ on mailchimp

    And it not work.

    these is the var dump on the beginning of your snippet.

    array(2) {
      ["FNAME"]=>
      string(7) "TESTE x"
      ["LNAME"]=>
      string(7) "Teste y"
    }

    and this is before the return

    array(3) {
      ["FNAME"]=>
      string(7) "TESTE x"
      ["LNAME"]=>
      string(7) "Teste y"
      ["billing_state"]=>
      string(2) "RR"
    }

    on the mail chimp the field stay blank

Viewing 1 replies (of 1 total)