vendor registration address

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 5 reply threads
  • Author
    Posts
    • #80469
      sdel_nevo
      Participant

      Hi Guys

      is it possible to re-arrange the address on the vendor registration page to

      address 1
      address 2
      City/town
      county
      postcode
      country

      as per the screenshot

      Steve

      Attachments:
      You must be logged in to view attached files.
    • #80586
      WCFM Forum
      Keymaster

      Hi,

      Sure, please use this code snippet –

      function wcfm_marketplace_address_fields_rearrange( $address_fields ) {
      	$country_field = '';
      	if( isset( $address_fields['country'] ) ) { 
      	  $country_field = $address_fields['country']; 
      	  unset( $address_fields['country'] );
      	  $address_fields['country'] = $country_field;
      	}
      	return $address_fields;
      }
      add_filter( 'wcfm_marketplace_settings_fields_address', 'wcfm_marketplace_address_fields_rearrange' );
      add_filter( 'wcfm_membership_registration_fields_address', 'wcfm_marketplace_address_fields_rearrange' );
      add_filter( 'wcfm_wcmarketplace_settings_fields_customer_support', 'wcfm_marketplace_address_fields_rearrange' );

      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

    • #80591
      sdel_nevo
      Participant

      Hi guys

      That’s fantastic πŸ˜€

      Many thanks for this. It’s amazing that you guys openly provide the code for your users to change the software to fit there needs,

      If I could I would change the 5 star review I gave to 10 stars

      To be honest I think you guys are the most accommodating software company I have ever used

      Steve

    • #80598
      WCFM Forum
      Keymaster

      You are always welcome πŸ™‚

      Between, do you have get a chance to look at our new home page – https://wclovers.com/

      If you have any comment on this, then please share feed with me.

      Thank you and have a great day πŸ™‚

    • #80600
      sdel_nevo
      Participant

      Hi

      Yeah sure have πŸ˜€ I dropped you an email love the new look

      Steve

    • #80804
      WCFM Forum
      Keymaster

      Thank you very much πŸ™‚

      Hope you are going to have a great meeting. All the best wishes for you πŸ˜€

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