Email variables in email body WooCommerce
-
How I can use this variables in email body? Fore example, in customer-invoice.
<p><?php printf( __( 'An order has been created for you on %s. To pay for this order please use the following link: %s', 'woocommerce' ), get_bloginfo( 'name', 'display' ), '<a href="' . esc_url( $order->get_checkout_payment_url() ) . '">' . __( 'pay', 'woocommerce' ) . '</a>' ); ?></p>
I need this:
<p>Order #{order_number}</p>
Or:
<p><?php echo "Order #$order_number"; ?></p>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Email variables in email body WooCommerce’ is closed to new replies.