WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
How to hide "create account" second password field in checkout? (1 post)

  1. ak47marx
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.