Support » Plugin: WooCommerce » Removing the “order again” button

  • Resolved Jeroen

    (@jeroentjed)


    Hi guys and girls,

    At the Checkout page there is a button “order again”. As I sell a digital service and not a product, I don’t want that button on my page.
    I googled around but the only way I can find is to add some code to a functions.php. Isn’t there a easier way to do this?

    For me the best way would be a setting to turn this on or off. Maybe something for the nearby future?

    Regards,
    Jeroen

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shane Eckert

    (@shaneeckert)

    Automattic Happiness Engineer

    Hi Jeroen,

    Are you using this snippet?

    remove_action( 'woocommerce_order_details_after_order_table', 'woocommerce_order_again_button' );

    You can also use CSS to remove the button from the front end. Something along the lines of this.

    
    p.order-again {
    display: none !important;
    }
    

    These are the only ways to disable this option at the moment. Buy please feel free to open a feature request here.

    Cheers!

    Hello @shaneeckert,

    Yes I used that one. I will try the css suggestion. Thanks!

    Plugin Support Shane Eckert

    (@shaneeckert)

    Automattic Happiness Engineer

    Any time!

    I also have the problem of trying to get rid of this option. I am not sure where to put the code so that I can remove that option.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.