From fb6e50f942ebed7585d80dbde7c82a0f3345f852 Mon Sep 17 00:00:00 2001 From: Andrew White Date: Fri, 10 Feb 2012 05:15:54 +0000 Subject: [PATCH 1/3] Add classes to My Orders table so table can be styled easier --- templates/myaccount/my-account.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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'))) : ?> From 3e134d11fe787892b54000e102578fc92ea68629 Mon Sep 17 00:00:00 2001 From: Andrew White Date: Fri, 10 Feb 2012 05:51:31 +0000 Subject: [PATCH 2/3] Add some more classes to Order Details table --- templates/order/order-details.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/order/order-details.php b/templates/order/order-details.php index ebf3860a493..97726194fb7 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; From da690e3bb957ee112804a60ceeb551c3b05bb288 Mon Sep 17 00:00:00 2001 From: Andrew White Date: Fri, 10 Feb 2012 05:54:21 +0000 Subject: [PATCH 3/3] Add styling hook for customer details definition list --- templates/order/order-details.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/order/order-details.php b/templates/order/order-details.php index 97726194fb7..0851dd609d2 100644 --- a/templates/order/order-details.php +++ b/templates/order/order-details.php @@ -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) . '