• Resolved wojciechborys

    (@wojciechborys)


    Hey, great and easy to use plugin.
    I think that i might have done some changes to the function.php file, that changed plugin functionality.

    So, at the start, states were shown as dropdown, everything was great, BUT when i reloaded stylesheets (ctrl + f5), fields changed from dropdown to regular input.

    Btw, how can i translate default placeholder, since this code doesn’t work

    add_filter( 'woocommerce_default_address_fields' , 'rename_state_province', 9999 );
     
    function rename_state_province( $fields ) {
        $fields['state']['label'] = 'Miasto / Dzielnica';
        return $fields;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wojciechborys

    (@wojciechborys)

    Okay, SO, for anyone wondering, I solved this problem. Turns out, it was problem with Woocommerce, not the plugin itself. I just had to turn on “Geolocation” in Woocommerce default client localization setting field.

    Plugin Author TrusTech

    (@trusted)

    Hi Wojciechborys, glad to hear that you were able to solve it out. ??

    Please note that our response is a little bit impacted by the current worldwide situation, so, please, feel free to email our support@…. to get a faster response.

    Best regards and stay safe.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Select changed to input text’ is closed to new replies.