Support

Account

Home Forums Front-end Issues Two IFs, one conflict Reply To: Two IFs, one conflict

  • Hi @toad78

    I believe the “catalog” is assigned to the parent product, not the upsells product, right? Could you please debug the returned value like the following?

    $file = get_field('catalog');
    var_dump($file);

    If it returns an empty value, could you please try the following?

    $file = get_field('catalog', $product->ID);
    var_dump($file);

    Thanks!