Support

Account

Home Forums Pre-purchase Questions Action to custom field

Helping

Action to custom field

  • Hi,

    I would like to add a custom field to the order page in WooCommerce. And set the value using an action from a plugin.

    Is this possible with the ACF plugin? And how?

  • How would you add a standard custom field to the order page in WooCommerce? You would basically do the same thing. Use the ACF field name as the name of the custom field. Only hitch might be if it is a field like a multiple select, checkbox or maybe a repeater.

    How would you set a standard custom field’s value in a plugin action? Again, basically the same with ACF except that you also need to set a special custom field to tell ACF how the value is used. The special custom field name is equal to '_'.$field_name and the value of this field is the ACF field key.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Action to custom field’ is closed to new replies.