Title: Parent ID
Last modified: December 5, 2022

---

# Parent ID

 *  Resolved [amunavercruysse](https://wordpress.org/support/users/amunavercruysse/)
 * (@amunavercruysse)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/parent-id-2/)
 * Hi
 * We are using another plugin to seperate the parentorders into different orders.
   
   When the ‘Childorders ‘ are made als an invoice is made.
 * Now we haven an issue because on the ‘childorders’ we can’t see if the order 
   has been spilt or not.
 * Is there any option to add the ‘parentorder’ to the invoice?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Yordan Soares](https://wordpress.org/support/users/yordansoares/)
 * (@yordansoares)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/parent-id-2/#post-16260673)
 * Hi [@amunavercruysse](https://wordpress.org/support/users/amunavercruysse/),
 * Since this isn’t a default behavior by WooCommerce, we don’t have a setting out
   of the box to display the “parent order” on the PDF invoice. Maybe the plugin
   that you mentioned stores the parent order ID in the child orders. If so, and
   you have some PHP knowledge, you could write a code snippet to get this meta 
   and then display it on the PDF invoices using our [PDF template action hooks](https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/pdf-template-action-hooks/):
   See some use examples here: [Using the template action hooks](https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/pdf-template-action-hooks/#using-the-template-action-hooks).
 * Unfortunately, writing a custom code snippet for this request is beyond the free
   support. However, if you have a valid license for the [Professional extension](https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-professional/)
   or [Premium Templates](https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-premium-templates/),
   please contact us by [support@wpovernight.com](https://wordpress.org/support/topic/parent-id-2/support@wpovernight.com?output_format=md),
   and we’ll provide you with extra help to achieve this, either writing a code 
   snippet for you (Professional) or explaining how to do it with the [customizer](https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/using-the-customizer/)(
   Premium Templates).

Viewing 1 replies (of 1 total)

 The topic ‘Parent ID’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Yordan Soares](https://wordpress.org/support/users/yordansoares/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/parent-id-2/#post-16260673)
 * Status: resolved