title: Customize the Wordpress Woocommerce billing address edit forms
body: <p>By default, Woocommerce has two types of addresses which are <strong>Billing and Delivery address</strong>, and these informations can be edited from <strong>My Account</strong> page, you click the "edit" link, form opens in a new window.</p>
  
  <p>But this is what, I want the account page to look like:</p>
  
  <p>When the user visits the My Account page, I would like to have both [the billing (facturacion) and shipping address (datos envio)] edit forms there on the same page. How can I achieve this? </p>
  
  <p><a href="https://i.stack.imgur.com/SiLRT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SiLRT.png" alt="enter image description here"></a></p>
  
  <p>I want to have both forms in the same page instead in two different ones.</p>
  
  <p>I have been trying to "separate" both forms and have them one next to the other in the same page instead of having them in two different page/instances.</p>
  
  <p>The file form-edit-address contains the forms.</p>
  
  <p><strong>This is what I have tried:</strong></p>
  
  <p>in the begining of the code it reads</p>
  
  <pre><code>$page_title = ( $load_address === 'billing' ) ? __( 'Billing Address', 'woocommerce' );
  </code></pre>
  
  <p>I removed the shipping bit. but breaks all.
  clearly here is where i have to chop a bit to render billing or shipping forms, my experience is limited with php so I have been trying all sorts of combinations like walking blind. Can somebody help me understand this code to customize it?</p>
  
  <p><strong>This is the untouched code:</strong></p>
  
  <pre><code>&lt;?php
  /**
   * Edit address form
   *
   * @author      WooThemes
   * @package     WooCommerce/Templates
   * @version     2.1.0
   */
  
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
  
  global $woocommerce, $current_user;
  
  $page_title = ( $load_address === 'billing' ) ? __( 'Billing Address', 'woocommerce' ) : __( 'Shipping Address', 'woocommerce' );
  
  get_currentuserinfo();
  ?&gt;
  
  &lt;?php wc_print_notices(); ?&gt;
  
  &lt;?php if ( ! $load_address ) : ?&gt;
  
      &lt;?php wc_get_template( 'myaccount/my-address.php' ); ?&gt;
  
  &lt;?php else : ?&gt;
  
      &lt;form method="post"&gt;
  
          &lt;h3&gt;&lt;?php echo apply_filters( 'woocommerce_my_account_edit_address_title', $page_title ); ?&gt;&lt;/h3&gt;
  
          &lt;?php foreach ( $address as $key =&gt; $field ) : ?&gt;
  
              &lt;?php woocommerce_form_field( $key, $field, ! empty( $_POST[ $key ] ) ? wc_clean( $_POST[ $key ] ) : $field['value'] ); ?&gt;
  
          &lt;?php endforeach; ?&gt;
  
          &lt;p&gt;
              &lt;input type="submit" class="button big" name="save_address" value="&lt;?php _e( 'Save Address', 'woocommerce' ); ?&gt;" /&gt;
              &lt;?php wp_nonce_field( 'woocommerce-edit_address' ); ?&gt;
              &lt;input type="hidden" name="action" value="edit_address" /&gt;
          &lt;/p&gt;
  
      &lt;/form&gt;
  
  &lt;?php endif; ?&gt;
  </code></pre>