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:	ecommercehints.com

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;
WooCommerce Conversion Rate Optimisation (CRO) eBook
100 WooCommerce Conversion Rate Optimisation Tips

Leave a Reply

If you are going to write code in the comments, please wrap it between code tags.

Your email address will not be published. Required fields are marked *

Other Recent Guides

Subscribe To Emails

Get exclusive WooCommerce tips that I only share with email subscribers

Join hundreds of other subscribers