diff --git a/templates/myaccount/orders.php b/templates/myaccount/orders.php index ac35a130bc4..f6227446c61 100644 --- a/templates/myaccount/orders.php +++ b/templates/myaccount/orders.php @@ -22,11 +22,18 @@ if ( ! defined( 'ABSPATH' ) ) { } $customer_orders = new WP_Query( wc_get_account_orders_query_args( $current_page ) ); +$has_orders = $customer_orders->have_posts(); + +wc_print_notices(); wc_get_template( 'myaccount/navigation.php' ); ?>
- have_posts() ) : ?> + + + + + @@ -100,6 +107,8 @@ wc_get_template( 'myaccount/navigation.php' ); ?>
+ + max_num_pages ) : ?>
@@ -120,4 +129,7 @@ wc_get_template( 'myaccount/navigation.php' ); ?>
+ + +