Title: Checkout Custom Question
Last modified: September 14, 2021

---

# Checkout Custom Question

 *  Resolved [qtfish](https://wordpress.org/support/users/qtfish/)
 * (@qtfish)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/checkout-custom-question/)
 * Hi
    How do i add a custom field (mandatory) to my checkout page, which will also
   refelce the answer on the order page,
 * A simple question like
    What delivery day works best for you? Wednesday/Thursday/
   Friday or any of these days.
 * Thank you

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [qtfish](https://wordpress.org/support/users/qtfish/)
 * (@qtfish)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/checkout-custom-question/#post-14868939)
 * so i was able to get a custome field placed on the checkout page and it works
   fine.
    i was also able to place the answer on to the order edit as well Now only
   problem is i cant get the answer from customer to print on the PRINT INVOICE.
 * Is there a way to get the answer on the printed paper using Print Invoice button
 * here is the code i used
 *     ```
       /**
        * Add the field to the checkout
        */
       add_action( 'woocommerce_after_order_notes', 'my_custom_checkout_field' );
   
       function my_custom_checkout_field( $checkout ) {
   
           echo '<div id="my_custom_checkout_field"><h2>' . __('Delivery Day Preference') . '</h2>';
   
           woocommerce_form_field( 'my_field_name', array(
               'type'          => 'text',
               'class'         => array('my-field-class form-row-wide'),
               'label'         => __('What delivery day works best for you?'),
               'placeholder'   => __('Wednesday/Thursday/Friday or any combination of these 3 days'),
               ), $checkout->get_value( 'my_field_name' ));
   
           echo '</div>';
       ```
   
 *  [zworthkey12vaibhav](https://wordpress.org/support/users/zworthkey12vaibhav/)
 * (@zworthkey12vaibhav)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/checkout-custom-question/#post-14869799)
 * Hi [@qtfish](https://wordpress.org/support/users/qtfish/),
 * Can you tell me the name of the plugin which you are using for the invoice?
 * It will be easy to answer.
 * Thank You
 *  Thread Starter [qtfish](https://wordpress.org/support/users/qtfish/)
 * (@qtfish)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/checkout-custom-question/#post-14873277)
 * Print Invoices & Delivery Notes for WooCommerce Orders.
 * Version 4.6.4 | By Tyche Softwares
 *  [zworthkey12vaibhav](https://wordpress.org/support/users/zworthkey12vaibhav/)
 * (@zworthkey12vaibhav)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/checkout-custom-question/#post-14873591)
 * Hi [@qtfish](https://wordpress.org/support/users/qtfish/),
 * You can raise thread to the plugin forum they will help out.
 * Here is the link to the plugin support froum.
    [https://wordpress.org/support/plugin/woocommerce-delivery-notes/](https://wordpress.org/support/plugin/woocommerce-delivery-notes/)
 * Thank You

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Checkout Custom Question’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [zworthkey12vaibhav](https://wordpress.org/support/users/zworthkey12vaibhav/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/checkout-custom-question/#post-14873591)
 * Status: resolved