Created
January 21, 2015 15:39
-
-
Save woogist/d58a07ce1d47a31c59d6 to your computer and use it in GitHub Desktop.
Shows important informations about the order
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p><?php echo apply_filters( 'woocommerce_thankyou_order_received_text', __( 'Thank you. Your order has been received.', 'woocommerce' ), $order ); ?></p> | |
<ul class="order_details"> | |
<li class="order"> | |
<?php _e( 'Order:', 'woocommerce' ); ?> | |
<strong><?php echo $order->get_order_number(); ?></strong> | |
</li> | |
<li class="date"> | |
<?php _e( 'Date:', 'woocommerce' ); ?> | |
<strong><?php echo date_i18n( get_option( 'date_format' ), strtotime( $order->order_date ) ); ?></strong> | |
</li> | |
<li class="total"> | |
<?php _e( 'Total:', 'woocommerce' ); ?> | |
<strong><?php echo $order->get_formatted_order_total(); ?></strong> | |
</li> | |
<?php if ( $order->payment_method_title ) : ?> | |
<li class="method"> | |
<?php _e( 'Payment method:', 'woocommerce' ); ?> | |
<strong><?php echo $order->payment_method_title; ?></strong> | |
</li> | |
<?php endif; ?> | |
</ul> | |
<div class="clear"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment