@kenil802 Are you able to help assist us further on getting this field visible on the Invoice?
-
This reply was modified 3 years, 6 months ago by sneakerweb.
AS Bruno mentioned this causes an error in WP. However removing the code
if( get_post_meta( $order->id, ‘your_meta_field_name’, true ) ) {
$new_fields[‘your_meta_field_name’] = array(
‘label’ => ‘Customer Number’,
‘value’ => get_post_meta( $order->id, ‘your_meta_field_name’, true )
);
}
and removing } removed the error.
How would this example work for my needs to pull in igfw_invoice_number field from the other plugin as discussed? Thank you for the help!