Support » Plugin: Timologia for WooCommerce » Make ΔΟΥ field select instead of text

  • Resolved ARCangelGIRL

    (@arcangelgirl)


    Hello,

    At the moment “ΔΟΥ” field is text input. Is it possible to change it to select type? Or maybe I can add an extra field by myself? Is there any hook that exists for this?

    In wc-timologia.php line 199 I see that “billing_irs” has type “text”, but when I try to change it, it does not work.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author exentric

    (@exentric)

    Hello arcangelgirl,

    It is set as text because if the e-shop sells to europe that would have to change according to the country selected. If you only sell in Greece you would need a list of all the available ΔΟΥ, do you have that list, did you add them in the options of the field e.g.

            'options'     => array(
                'Halandri' => __( 'Halandri', TEXT_DOMAIN ),
                'Vrilissia' => __( 'Vrilissia', TEXT_DOMAIN ),
            ),
    Thread Starter ARCangelGIRL

    (@arcangelgirl)

    That works! Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make ΔΟΥ field select instead of text’ is closed to new replies.