What is the correct way to hide only the view Button at My account/orders
Any help at all would be much appreciated.
2
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; }
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; }
Click here to cancel reply.
2
Answers
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:
Instead of blanking out the entire table cell where other link buttons may exist for invoices, etc. just take out the View button: