Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards

Limiting vendors countries of origin

MultivendorX Pro

Resolved
Viewing 2 reply threads
  • Author
    Posts
    • #192534
      srv46126
      Participant

      Hello,

      I was trying to limit the list of countries which new vendor can choose while fulfilling “New vendor wizard” only to these which I want to be chosen. I quite certain it is doable with ease with php, however I have no clue if it needs short manual script or needs to be changed directly in plugin files.

      With regards
      Tom

    • #192596

      Hi @srv46126 by default we display all the countries available.
      To achieve the flow you need to add custom code. You can have a look at this code as an example . Modify the below code according to your requirement

      
      add_filter( 'woocommerce_countries', 'country_limit',20);
       function country_limit(){
          return array('Cayman Islands');
      }
      
      Copy
    • #194765

      Its been a while and we have not heard back from you. It seems like your query is solved now. We are closing this thread as of now. If you need help or face issue in future please open a new thread.

Viewing 2 reply threads

The topic ‘Limiting vendors countries of origin’ is closed to new replies.