WooCommerce - Add order number to giftcard email template - SOLVED

#1

Looking for helping hand. I have tried and tried and… to add WooCommerce order number to gift card mail with no success. I have passed ACF-fields to card and below them I would want the order #


Solved:
<?php _e( ‘Order Number’, ‘pw-woocommerce-gift-cards’ ); ?>
<?php echo $item_data->order->get_order_number(); ?>

#2

You need to figure out where that data is stored. If I had to guess, I would do a var dump on this, and see what it gets back.