I use Woocommerce (WC) with WP-All-Import + WP-All-Export and ACF.
I added a ACF field CustomerNumber to the WC-Customer (which enhanced the WP-User).
On the XML-Import I set the CustomerNumber with a value from a ERP.
So all customers have these CustomerNumber.
I now need to export the WC-Orders (to import them in the ERP again).
The Order-XML must include the CustomerNumber from the Customer belongs to the Order.
As I see, the other standard fields from the customer – like name and address – are copied automatically to the order (by woocommerce itself).
My question is now: How I have to do this for the ACF’s?
Did I have to do this by code on my own? Adding the same AC-fields to the WC-Order and hook into the order checkout and copy the values from the customer to the order?
Or is there some kind of setup which do that and which I did not recognize?