Order again button

Hi Yevhen, I need to hide the “order again” button that appears in my orders placed because in my shop it is not possible to order a second time.
I have tried to read the articles in support where you help people to hide buttons with display none but I don’t know how to do it.
I would be grateful if you could tell me the code to insert it in code snipets.
Thanks.

Hola Yevhen, necesito ocultar el boton “order again” que aparece dentro de pedidos realizados porque en mi tienda no es posible pedirlo por segunda vez.
He intentado leer los articulo que hay en soporte donde les ayudas a la gente a ocultar botones con display none pero no se hacerlo.
Te agradeceria que me dijeras el codigo para insertarlo en code snipets.
Gracias.

Please try this PHP snippet
remove_action( 'woocommerce_order_details_after_order_table', 'woocommerce_order_again_button' );

Gracias yevhen eres muy amable

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.