Skip Navigation

[Resolved] Adding fields to Woocommerce order

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by Shane 5 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1237837

Tell us what you are trying to do?
I want to change woocommerce orders by adding fields to customers and invoices. For example id number and vat number.

Is there any documentation that you are following?
Can't find.

Is there a similar example that we can see?

What is the link to your site?
zix.is

#1237847

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Axel,

Thank you for getting in touch.

Is it that you want to add custom field to the Woocommerce order Post Type? Or are you referring to the order process.

ITs not so clear to me.

Thanks,
Shane

#1241081

I want to add fields to customers and invoices. For example id number and vat number

#1241194

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2019-05-08 at 2.01.18 PM.png
Screenshot 2019-05-08 at 2.02.31 PM.png

Hi Axel,

I'm assuming you are referring to the order complete screen where you get the invoice details .

Unfortunately this page you would need to modify it using the woocommerce hooks . Take a look at my screenshots and could you let me know which one of these pages you are referring to exactly.

One is the cart page and the other is the invoice after you've placed an order.

Thanks,
Shane

#1243122
2019-05-13_1812.png

I'm talking about Checkout page. I need to add fields there and the fields have to show up on the invoice.

#1243164

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Axel,

So this page isn't able to be modified by out toolset plugins so some 3rd party solution will be needed or the use of a custom hook.

I was checking and managed to find this plugin that you can possibly try.
https://wordpress.org/plugins/woo-checkout-field-editor-pro/

Please let me know if this helps.
Thanks,
Shane