Å, Ä and Ö in store name

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 2 reply threads
  • Author
    Posts
    • #108871
      Maria Axelsson
      Participant

      Hi,

      I am from Sweden and here we have three more letters in the alphabet: å, ä and ö. I would like to be able to use these in the store name (but ok to skip it in the store slug), is there a way to do this? As for now nothing happens when I try to write these letters in the store name field.

      Thanks,
      Maria

    • #109735
      Maria Axelsson
      Participant

      Does anyone know how to do this? 🙂

    • #109841
      WCFM Forum
      Keymaster

      Hi,

      Please add this code to your site for the purpose-

      add_filter( 'wcfm_membership_registration_fields', function( $store_name_fields ) {
      	if( isset( $store_name_fields['store_name'] ) ) {
      	  $store_name_fields['store_name']['class'] = 'wcfm-text wcfm_ele';
      	}
      	return $store_name_fields;
      });
      
      add_filter( 'wcfm_marketplace_settings_fields_general', function( $store_name_fields ) {
      	if( isset( $store_name_fields['store_name'] ) ) {
      		$store_name_fields['store_name']['class'] = 'wcfm-text wcfm_ele';
      	}
      	return $store_name_fields;
      });

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thank You

Viewing 2 reply threads
  • You must be logged in to reply to this topic.