WordPress.org

Support

Support » Plugins and Hacks » How to hide "create account" second password field in checkout?

How to hide "create account" second password field in checkout?

  • In ..templates/checkout/form-billing.php there is a chance for a user to create an account when purchasing. How to hide the second password field? I made it so that user can see his password and therefore has no reason to enter it twice.

    <div class="create-account">
    
    		<p>Registreeri konto, et saaksid j&auml;lgida tellimuse kulgemist. Kui sul juba on konto, siis palun sisene lehe &uuml;lemisest lingist.</p>
    
    		<?php foreach ($checkout->checkout_fields['account'] as $key => $field) : ?>
    
    			<?php woocommerce_form_field( $key, $field, $checkout->get_value( $key ) ); ?>
    
    		<?php endforeach; ?>
    
    	</div>

    Thanks.

    http://wordpress.org/extend/plugins/woocommerce/

  • The topic ‘How to hide "create account" second password field in checkout?’ is closed to new replies.