Support

Account

Home Forums Front-end Issues Output Product or text value from select Reply To: Output Product or text value from select

  • 
    $choice = get_field('menu_item_type');
    if ($choice == 'checkbox') {
       // do something
    } elseif ($choice == 'product') {
       // do something else
    }