How to disable the order again button in the order list?
This topic has 8 replies, 2 voices, and was last updated 2 minutes ago ago by Luca Rossi
How to disable the order again button in the order list?
Hello @Denurade,
Thank you for reaching out to us.
To disable the “Order Again” button in the order list, you can add the following code snippet to your theme’s functions.php file:
add_filter( 'woocommerce_valid_order_statuses_for_order_again', '__return_empty_array' );
This will remove the option for customers to reorder from their order history.
If you need further assistance, please let us know.
Best regards,
8Theme’s Team
Thank you very much it worked.
Could you please advise how to disable the payment button.
In the same place . In the list of orders.
Thank you in advance.
Hi @Denurade,
Can you please provide some screenshots?
Thank you!
Added
Dear @Denurade,
We hope you are doing well.
Could you kindly provide the account credentials or password associated with the orders so that we can review them in more detail?
Thank you for your assistance.
Best regards,
8Theme Team
Details
Hi @Denurade,
Please try adding this custom CSS under XStore > Theme Options > Theme Custom CSS > Global CSS:
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.woocommerce-button.button.pay {
display: none !important;
}
Kind regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up