Support » Plugin: Flexible Checkout Fields for WooCommerce » Problem Required Field, Optional Label

  • Resolved moultrex

    (@moultrex)


    Hello. I try to make the State field required. When i do this at the checkout the label name is still State (optional)

    But if i disable your plugin add this snippet

    add_filter('woocommerce_get_country_locale', 'custom_nz_locale');
    function custom_nz_locale($locale){
      $locale['GR']['state']['required'] = true;
      return $locale;
    }

    The state field label optional is removed and it says State * with an asterisk just like it should work.

    So the problem is with your plugin. Although you set the field required and functionally is required the label doesn’t change and the customers confused.

Viewing 1 replies (of 1 total)
  • Plugin Support Adrianna

    (@adriannagr)

    Hi,

    Let’s continue the topic in the thread on our official support forum, where you wrote.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem Required Field, Optional Label’ is closed to new replies.