If you’re running a WooCommerce store, making it easier for customers to reorder past purchases is a no-brainer. It boosts convenience and conversions.
By default, WooCommerce shows an “Order Again” button only in certain places, but with a simple code tweak, you can add it directly to the My Account > Orders page actions.
Here’s the snippet:
function cs_add_order_again_to_my_orders_actions( $actions, $order ) {
if ( $order->has_status( 'completed' ) || $order->has_status( 'processing' )) {
$actions['order-again'] = array(
'url' => wp_nonce_url( add_query_arg( 'order_again', $order->id ) , 'woocommerce-order_again' ),
'name' => __( 'Order Again', 'woocommerce' )
);
}
return $actions;
}
add_filter( 'woocommerce_my_account_my_orders_actions', 'cs_add_order_again_to_my_orders_actions', 50, 2 );
🔧 What It Does
This code adds an Order Again button right next to each eligible order in the customer’s account (specifically orders marked “Completed” or “Processing”). With one click, the entire order is re-added to the cart—ready for checkout again.

🚀 Why Use This?
- Improves customer experience
- Encourages repeat purchases
- Ideal for stores with products that get ordered again and again (think coffee, supplements, pet food, etc.)
🧑💻 Need Help with Your WooCommerce Store?
Here at EUX Digital Agency, we specialise in custom WooCommerce development—from slick frontends to smart backend solutions. Whether you’re looking to improve conversion rates, streamline your customer journey, or integrate with third-party systems, we can help.
💬 Want a hand with your store? Get in touch and let’s talk!