diff --git a/templates/myaccount/my-account.php b/templates/myaccount/my-account.php index 6ca93121c9d..442b57a6246 100644 --- a/templates/myaccount/my-account.php +++ b/templates/myaccount/my-account.php @@ -39,11 +39,11 @@ if ($customer_orders) : - - - - - + + + + + @@ -52,15 +52,15 @@ if ($customer_orders) : $order = new WC_Order(); $order->populate($customer_order); ?> - id; ?> - -
get_formatted_shipping_address()) echo $order->get_formatted_shipping_address(); else echo '–'; ?>
- order_total); ?> - id; ?> + +
get_formatted_shipping_address()) echo $order->get_formatted_shipping_address(); else echo '–'; ?>
+ order_total); ?> + status, 'shop_order_status'); echo __($status->name, 'woocommerce'); ?> - + status, array('pending', 'failed'))) : ?> diff --git a/templates/order/order-details.php b/templates/order/order-details.php index ebf3860a493..0851dd609d2 100644 --- a/templates/order/order-details.php +++ b/templates/order/order-details.php @@ -8,12 +8,12 @@ global $woocommerce; $order = new WC_Order( $order_id ); ?>

- +
- - - + + + @@ -53,7 +53,7 @@ $order = new WC_Order( $order_id ); endif; - echo ''; + echo ''; endforeach; endif; @@ -64,7 +64,7 @@ $order = new WC_Order( $order_id );

-
+
billing_email) echo '
'.__('Email:', 'woocommerce').'
'.$order->billing_email.'
'; if ($order->billing_phone) echo '
'.__('Telephone:', 'woocommerce').'
'.$order->billing_phone.'
';
'.$item['qty'].'' . $order->get_formatted_line_subtotal($item) . '
'.$item['qty'].'' . $order->get_formatted_line_subtotal($item) . '