My Account

WooCommerce Remove Total Column In My Account Orders Table

WooCommerce my account orders table without total column


There are no pre-requisites in order for you to be able to implement this solution.

How To Implement This Solution?

Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.

About This Solution

This snippet allows you to remove the ‘Total’ column from the table of orders shown in the users’ my account dashboard.

 * Snippet Name:	WooCommerce Remove Total Column In My Account Orders Table
 * Snippet Author:

add_filter( 'woocommerce_my_account_my_orders_columns', 'ecommercehints_remove_total_column_from_my_account_orders_table', 10, 1 );
function ecommercehints_remove_total_column_from_my_account_orders_table( $columns ) {
    foreach ( $columns as $key => $name ) {
        $table_columns[ $key ] = $name;
           unset ($table_columns['order-total']);
    return $table_columns;

100 WooCommerce Conversion Rate Optimisation Tips

This field is for validation purposes and should be left unchanged.

Let’s collaborate!

Need to outsource WordPress development?

Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.

First Timer Here?

Sign up to receive 20% off on your first month with us.