Support

Account

Home Forums General Issues images as choices in select field Reply To: images as choices in select field

  • On your review page, set the post object field for the manufacturer to return the id of the manufacturer post.

    
    /* 
       this would be somewhere in your post loop on review page
       set the manufacturer field to return id of manufacturer post object
    */
    $mf_post_id = get_field('manufacturer');
    if ($mf_post_id) {
      /*
         $mf_post_id should hold the manufacturer post id where the image
         image field is located. Now get the image field from that
         manufacturer post
      */
      $image = get_field('manufacturer_logo', $mf_post_id)
      /*
         $image should contain the value returned for the
         logo image field on the manufacturer post
      */
    }
    

    Hope that explains it better.