Support

Account

Home Forums General Issues Displaying values in woocommerce emails Reply To: Displaying values in woocommerce emails

  • The code above is not working in the admin-new-order.php template

    What am I missing?

    <?php
    
    $section 	= get_field( 'location_section', $order_id );
    $column 	= get_field( 'location_column', $order_id );
    $row 		= get_field( 'location_row', $order_id );
    
    ?>
    
    <p>Location of item is: <strong>S<?php echo $section; ?>-C<?php echo $column; ?>-R<?php echo $row; ?></strong></p>