title: WooCommerce: Account Password Field in Checkout page
body: <p>My main goal is to change the "create an account" checkout to register the email as a username. The easy way I thought of was changing "Account Password" from password to email to override <strong><code>user_login</code></strong>.</p>
  
  <p>However, I can't seem to find where the "Password" text box is coming from. I know that this the code I needed under <strong><code>form-billing.php</code></strong>, but I am unsure how only password is showing considering there's a <strong><code>for-loop</code></strong>. </p>
  
  <pre><code>&lt;?php foreach ( $checkout-&gt;checkout_fields['account'] as $key =&gt; $field ) : ?&gt;
  
      &lt;?php woocommerce_form_field( $key, $field, $checkout-&gt;get_value( $key ) ); ?&gt;
  
  &lt;?php endforeach; ?&gt;
  </code></pre>
  
  <p>Any advice is appreciated. </p>