Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Checkout login form
- *
- * @author WooThemes
- * @package WooCommerce/Templates
- * @version 2.0.0
- */
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
- if ( is_user_logged_in() ) return;
- $info_message = apply_filters( 'woocommerce_checkout_login_message', __( 'Terugkerende klant?', 'wip' ) );
- ?>
- <div class="span6 coupon-login">
- <h5><?php echo esc_html( $info_message ); ?></h5>
- <a href="#" class="button"><?php _e( 'Login', 'wip' ); ?></a>
- <?php
- woocommerce_login_form(
- array(
- 'message' => __( 'Als u al eens bij ons hebt gewinkeld, vul dan uw gegevens in de vakjes hieronder. Als u een nieuwe klant bent, ga dan naar het facturerings- en verzending gedeelte.', 'wip' ),
- 'redirect' => get_permalink( wc_get_page_id( 'checkout') ),
- 'hidden' => true
- )
- );
- ?>
- </div>
Add Comment
Please, Sign In to add comment