Advertisement
TobiasBC

add username=79000xxxx

Oct 12th, 2014
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. <?php
  2. /**
  3. * Checkout billing information form
  4. *
  5. * @author WooThemes
  6. * @package WooCommerce/Templates
  7. * @version 2.1.2
  8. */
  9.  
  10. if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
  11. ?>
  12. <div class="woocommerce-billing-fields">
  13. <?php if ( WC()->cart->ship_to_billing_address_only() && WC()->cart->needs_shipping() ) : ?>
  14.  
  15. <h3><?php _e( 'Billing &amp; Shipping', 'woocommerce' ); ?></h3>
  16.  
  17. <?php else : ?>
  18.  
  19. <h3><?php _e( 'Billing Details', 'woocommerce' ); ?></h3>
  20.  
  21. <?php endif; ?>
  22.  
  23. <?php do_action( 'woocommerce_before_checkout_billing_form', $checkout ); ?>
  24.  
  25. <?php foreach ( $checkout->checkout_fields['billing'] as $key => $field ) : ?>
  26.  
  27. <?php woocommerce_form_field( $key, $field, $checkout->get_value( $key ) ); ?>
  28.  
  29. <?php endforeach; ?>
  30. <?php if ( method_exists('q2w3_inc_manager', 'manual_inc') ) q2w3_inc_manager::manual_inc(3); ?>
  31. <?php do_action('woocommerce_after_checkout_billing_form', $checkout ); ?>
  32.  
  33. <?php if ( ! is_user_logged_in() && $checkout->enable_signup ) : ?>
  34.  
  35. <?php if ( $checkout->enable_guest_checkout ) : ?>
  36.  
  37. <p class="form-row form-row-wide create-account">
  38. <input class="input-checkbox" id="createaccount" <?php checked( ( true === $checkout->get_value( 'createaccount' ) || ( true === apply_filters( 'woocommerce_create_account_default_checked', false ) ) ), true) ?> type="checkbox" name="createaccount" value="1" /> <label for="createaccount" class="checkbox"><?php _e( 'Create an account?', 'woocommerce' ); ?></label>
  39. </p>
  40.  
  41. <?php endif; ?>
  42.  
  43. <?php do_action( 'woocommerce_before_checkout_registration_form', $checkout ); ?>
  44.  
  45. <?php if ( ! empty( $checkout->checkout_fields['account'] ) ) : ?>
  46.  
  47. <div class="create-account">
  48.  
  49. <p><?php _e( 'Create an account by entering the information below. If you are a returning customer please login at the top of the page.', 'woocommerce' ); ?></p>
  50.  
  51. <?php foreach ( $checkout->checkout_fields['account'] as $key => $field ) : ?>
  52.  
  53. <?php woocommerce_form_field( $key, $field, $checkout->get_value( $key ) ); ?>
  54.  
  55. <?php endforeach; ?>
  56.  
  57. <div class="clear"></div>
  58.  
  59. </div>
  60.  
  61. <?php endif; ?>
  62.  
  63. <?php do_action( 'woocommerce_after_checkout_registration_form', $checkout ); ?>
  64.  
  65. <?php endif; ?>
  66. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement