How to disable “order again” A button in the order list page?

This topic has 8 replies, 2 voices, and was last updated 2 minutes ago ago by Luca Rossi

  • Avatar: Denurade
    Denurade
    Participant
    March 15, 2025 at 17:14

    How to disable the order again button in the order list?

    7 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    March 17, 2025 at 08:03

    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

    Avatar: Denurade
    Denurade
    Participant
    March 17, 2025 at 10:20

    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.

    Avatar: Justin
    Luca Rossi
    Support staff
    March 17, 2025 at 10:25

    Hi @Denurade,

    Can you please provide some screenshots?

    Thank you!

    Avatar: Denurade
    Denurade
    Participant
    March 17, 2025 at 10:39

    Added

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    March 17, 2025 at 10:43

    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

    Avatar: Denurade
    Denurade
    Participant
    March 17, 2025 at 10:55

    Details

    Content is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    March 17, 2025 at 14:34

    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

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.