skip to Main Content

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

Any help at all would be much appreciated.

2

Answers


  1. 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;
    }
    
    Login or Signup to reply.
  2. Instead of blanking out the entire table cell where other link buttons may exist for invoices, etc. just take out the View button:

    .woocommerce-button button view {
        display: none;
    }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search