diff --git a/templates/myaccount/my-account.php b/templates/myaccount/my-account.php index 253b01a488b..c7b3f345f80 100644 --- a/templates/myaccount/my-account.php +++ b/templates/myaccount/my-account.php @@ -17,38 +17,13 @@ $woocommerce->show_messages(); ?> -customer->get_downloadable_products() ) : ?> + -

- - - - - -

+ $recent_orders ) ); ?> -

- -

+ diff --git a/templates/myaccount/my-address.php b/templates/myaccount/my-address.php index 7c7d25621e0..1a12d0d53eb 100644 --- a/templates/myaccount/my-address.php +++ b/templates/myaccount/my-address.php @@ -14,6 +14,10 @@ global $woocommerce; $customer_id = get_current_user_id(); ?> +

+ +

+
diff --git a/templates/myaccount/my-downloads.php b/templates/myaccount/my-downloads.php new file mode 100644 index 00000000000..85ec384eab3 --- /dev/null +++ b/templates/myaccount/my-downloads.php @@ -0,0 +1,39 @@ +customer->get_downloadable_products() ) : ?> + +

+ + + + \ No newline at end of file diff --git a/templates/myaccount/my-orders.php b/templates/myaccount/my-orders.php index 898189b3851..4650b609f70 100644 --- a/templates/myaccount/my-orders.php +++ b/templates/myaccount/my-orders.php @@ -24,6 +24,8 @@ $args = array( ); $customer_orders = get_posts($args); +echo '

' . apply_filters( 'woocommerce_recent_orders_title', __( 'Recent Orders', 'woocommerce' ) ) . '

'; + if ($customer_orders) : ?>