Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Å, Ä and Ö in store name
- This topic has 2 replies, 2 voices, and was last updated 4 years, 8 months ago by WCFM Forum.
Viewing 2 reply threads
- AuthorPosts
- February 26, 2020 at 1:17 pm #108871Maria AxelssonParticipant
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 - March 3, 2020 at 6:47 pm #109735Maria AxelssonParticipant
Does anyone know how to do this? 🙂
- March 4, 2020 at 1:04 pm #109841WCFM ForumMember
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
- AuthorPosts
Viewing 2 reply threads
- You must be logged in to reply to this topic.