export a customer note/"comment".
-
I am trying to figure out how to export a customer note/”comment”. I have done it before but it’s been several months and I can’t figure out why it isn’t working now.
In the woocommerce/includes/class-wc-checkout.php, I added the following.
However, this information is not appearing in the individual orders or in the exports.woocommerce_form_field( ‘my_field_for class’, array(
‘type’ => ‘text’,
‘class’ => array(‘my-field-class form-row-wide’),
‘label’ => __(‘Who is eating lunch? Please provide student(s) name & classroom(s)’),
‘placeholder’ => __(‘e.g. Sally/1st, Michael/KH, Parent’),), $checkout->get_value( ‘my_field_name’ ));
echo ‘</div>’;
- The topic ‘export a customer note/"comment".’ is closed to new replies.