2011-12-09 17:01:56 +00:00
< ? php
/**
2012-08-14 18:05:45 +00:00
* Order tracking form
*
* @ 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
2012-10-15 10:57:58 +00:00
if ( ! defined ( 'ABSPATH' ) ) exit ; // Exit if accessed directly
2012-02-24 14:33:02 +00:00
global $woocommerce , $post ;
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
2012-10-16 09:45:33 +00:00
< p >< ? php _e ( 'To track your order please enter your Order ID in the box below and press return. 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
2012-10-16 09:45:33 +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 _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 _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
2013-01-07 13:21:05 +00:00
< p class = " form-row " >< input type = " submit " class = " button " name = " track " value = " <?php _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
2011-12-09 17:01:56 +00:00
</ form >