returning customer login. closes #3903

This commit is contained in:
James Koster 2013-10-10 10:29:16 +01:00
parent eaee8e9cf1
commit 13bcae2d63
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( is_user_logged_in() || ! $checkout->enable_signup ) return;
if ( is_user_logged_in() ) return;
$info_message = apply_filters( 'woocommerce_checkout_login_message', __( 'Returning customer?', 'woocommerce' ) );
?>
@ -20,7 +20,7 @@ $info_message = apply_filters( 'woocommerce_checkout_login_message', __( 'Return
woocommerce_login_form(
array(
'message' => __( 'If you have shopped with us before, please enter your details in the boxes below. If you are a new customer please proceed to the Billing & Shipping section.', 'woocommerce' ),
'redirect' => get_permalink( woocommerce_get_page_id( 'checkout') ),
'redirect' => get_permalink( woocommerce_get_page_id( 'checkout' ) ),
'hidden' => true
)
);