Hello there!
Any idea of how to add custom fields to the new Woocommerce - My account Login/Register Bricks template?
Since the new My Account Builder doesn’t give the option to add custom fields, I tried adding my own code (below) to the woocommerce original template in the bricks-child theme (form-login.php), and also through functions.php, but it’s not working.
<p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">
<label for="confirm_reg_email"><?php esc_html_e( 'Confirm Email address', 'woocommerce' ); ?> <span class="required">*</span></label>
<input type="email" class="woocommerce-Input woocommerce-Input--text input-text" name="confirm_email" id="confirm_reg_email" autocomplete="email" value="<?php echo ( ! empty( $_POST['confirm_email'] ) ) ? esc_attr( wp_unslash( $_POST['confirm_email'] ) ) : ''; ?>" /><?php // @codingStandardsIgnoreLine ?>
</p>
I need to add a field for “Confirm your email”, and a “Confirm Password” would be nice too. Thank you in advance for your help!