Support

Account

Forum Replies Created

  • You’re IF statement is incorrect. Try:

    if ( ( get_field('additional_person_1_first_name') && get_field('additional_person_1_director_role') == '' ) || ( get_field('additional_person_2_first_name') && get_field('additional_person_2_director_role') == '' ) ) :

  • UPDATE
    I got it to work (thanks to ACF support), so it seems only right to let you guys know if you ever run into this problem.

    The solution for getting the repeater values to appear on the WooCommerce search page was the use of acf-json. This way, the field groups are loaded locally and not from the database. So the field definition lookup query is not affected by any other WP filters.

    Worked like a charm!

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