woocommerce - Remove “view Order" Button in my Account

What is the correct way to hide only the view Button at My account/orders

Any help at all would be much appreciated.

1 answer

  • answered 2021-06-18 21:00 warnakey

    This is difficult to answer without seeing any code, but assuming you are using WooCommerce out of the box, this CSS rule should work for you:

    td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions, th.woocommerce-orders-table__header.woocommerce-orders-table__header-order-actions {
        display: none;
    }