“Order” section fields show in the “shipping” section
-
It appears there is a typo bug in:
/wp-content/plugins/flexible-checkout-fields/classes/plugin.php at line 128
Lines 120-131 are shown here. Note “after_shipping” is twice.add_action( 'woocommerce_admin_order_data_after_billing_address', array( $this, 'addCustomBillingFieldsToAdmin' ) ); add_action( 'woocommerce_admin_order_data_after_shipping_address', array( $this, 'addCustomShippingFieldsToAdmin' ) ); add_action( 'woocommerce_admin_order_data_after_shipping_address', array( $this, 'addCustomOrderFieldsToAdmin' ) );Changing the duplicated reference
from: woocommerce_admin_order_data_after_shipping_address
to: woocommerce_admin_order_data_after_order_details
Makes the fields display properly in the left column (but they are not editable).It appears that _order_* fields are not handled the same as _billing_* and _shipping_* by Woo itself, and there isn’t any filter/action for it obvious to me.
Your insights on that will be appreciated.P.S. I have made my _shipping_* FCFs editable with a simple filter on: woocommerce_admin_shipping_fields
Works fine — code available on request, but we are getting off-topic of the typo-bug.The page I need help with: [log in to see the link]
The topic ‘“Order” section fields show in the “shipping” section’ is closed to new replies.