2011-12-09 17:01:56 +00:00
< ? php
/**
2012-08-14 18:05:45 +00:00
* Order tracking form
*
2014-11-12 16:17:53 +00:00
* @ author WooThemes
* @ package WooCommerce / Templates
* @ version 1.6 . 4
2011-12-09 17:01:56 +00:00
*/
2012-08-14 18:05:45 +00:00
2014-09-22 16:31:03 +00:00
if ( ! defined ( 'ABSPATH' ) ) {
exit ; // Exit if accessed directly
}
2012-10-15 10:57:58 +00:00
2014-08-17 20:29:51 +00:00
global $post ;
2014-09-22 16:31:03 +00:00
2011-12-09 17:01:56 +00:00
?>
2014-01-15 05:53:37 +00:00
< form action = " <?php echo esc_url( get_permalink( $post->ID ) ); ?> " method = " post " class = " track_order " >
2012-08-14 18:05:45 +00:00
2014-12-03 19:05:08 +00:00
< p >< ? php _e ( 'To track your order please enter your Order ID in the box below and press the "Track" button. This was given to you on your receipt and in the confirmation email you should have received.' , 'woocommerce' ); ?> </p>
2012-08-14 18:05:45 +00:00
2015-08-05 16:51:44 +00:00
< p class = " form-row form-row-first " >< label for = " orderid " >< ? php _e ( 'Order ID' , 'woocommerce' ); ?> </label> <input class="input-text" type="text" name="orderid" id="orderid" placeholder="<?php esc_attr_e( 'Found in your order confirmation email.', 'woocommerce' ); ?>" /></p>
< p class = " form-row form-row-last " >< label for = " order_email " >< ? php _e ( 'Billing Email' , 'woocommerce' ); ?> </label> <input class="input-text" type="text" name="order_email" id="order_email" placeholder="<?php esc_attr_e( 'Email you used during checkout.', 'woocommerce' ); ?>" /></p>
2011-12-09 17:01:56 +00:00
< div class = " clear " ></ div >
2012-08-14 18:05:45 +00:00
2015-08-05 16:51:44 +00:00
< p class = " form-row " >< input type = " submit " class = " button " name = " track " value = " <?php esc_attr_e( 'Track', 'woocommerce' ); ?> " /></ p >
2013-12-07 18:49:53 +00:00
< ? php wp_nonce_field ( 'woocommerce-order_tracking' ); ?>
2012-08-14 18:05:45 +00:00
2014-09-22 16:31:03 +00:00
</ form >