Support

Account

Home Forums ACF PRO Custom fields for registration woocommerce Reply To: Custom fields for registration woocommerce

  • Hi @wax

    You can always create a field group with a repeater field in it. Then, you can add the field group to the order post type and use acf_form() instead of woocommerce_form_field() with ‘form’ option set to false in the checkout form. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/acf_form/. After that, just update the repeater values by using the update_field() function.

    You can get the posted repeater value like this:

    $repeater_values = $_POST['acf']['field_1234567890abc'];

    Where ‘field_1234567890abc’ is the field key.

    I hope this makes sense 🙂