admin cancelled/failed order
-
Hi,
using an Order Number Custom Prefix which is not an integer, will create an issue with woocommerce “cancelled/failed” order Email (#0).
If you see in woocommerce/templates/emails/admin-cancelled-order.php (or admin-failed-order.php) you will find:
<p><?php printf( __( 'The order #%1$d from %2$s has been cancelled. The order was as follows:', 'woocommerce' ), $order->get_order_number(), $order->get_formatted_billing_full_name() ); ?></p>
Is it possible to fix replacing “#%1$d” with “#%1$s” in both files?
Regards.
- The topic ‘admin cancelled/failed order’ is closed to new replies.