Support » Plugin: WooCommerce Print Invoice & Delivery Note » Hook extra fields

  • Resolved konnox

    (@konnox)


    I have created two additional fields with the extra fields checkout plugin and I need them to appear in the order invoice, however I can not find the syntax to put in the functions.php

    Can someone help me? I’am noob 🙁

Viewing 1 replies (of 1 total)
  • komal-maru

    (@komal-maru)

    Hi @konnox,

    If you want to add the extra custom fields into the invoice then you will need to write a custom code for this. There is a filter “wcdn_order_info_fields” present in the “print-content.php” file of our plugin. You can use this filter and write a callback function to add the extra custom fields.

    The print-content.php file is located at the following path: wp-content\plugins\woocommerce-delivery-notes\templates\print-order\print-content.php

    Please check the same and let us know if you need any help.

    Regards,
    Komal Maru

Viewing 1 replies (of 1 total)
  • The topic ‘Hook extra fields’ is closed to new replies.