Vendor registration with dynamic city dropdown field

WCMp Core

Resolved
Viewing 4 reply threads
  • Author
    Posts
    • #116549
      boukimaga
      Participant

      Hello WCMP !
      Looking for drop down of /state/city. I am getting country state auto populated but cities not going through well. how to add this in vendor registration form please.
      Thank you.

    • #116583

      Hello,

      Thank you for reaching out to us.

      For state we have already drop down as you can see here https://www.loom.com/share/491e1ccfd4ae4d32b7563ecb09730540

      Now for city, we do not have any drop down at present, however with custom coding you can add it at your end.

      Kindly let us know if you need any help with the hook and filter then our team will guide you accordingly.

    • #116776
      boukimaga
      Participant

      Ok thank you for your reply, I will try to find another way.

      – In vendor registration form, I only want to display these two countries: United Arab Emirates and France.
      I followed this thread https://multivendorx.com/support-forum/topic/limit-vendor-country/ and added `add_filter( ‘woocommerce_countries_allowed_countries’, ‘country_limit’,20,1);
      function country_limit($country){
      return array(‘United Arab Emirates’,’france’);
      }` in my function.php
      The fact is that it also restrict billing and shipping countries to these two country.
      I only need the restriction for vendor registration form not in woocommerce checkout country list:

    • #116777
      boukimaga
      Participant

      Ok thank you for your reply, I will try to find another way.

      In vendor registration form, I only want to display these two countries: United Arab Emirates and France.
      I followed this thread https://multivendorx.com/support-forum/topic/limit-vendor-country/ and added `add_filter( ‘woocommerce_countries_allowed_countries’, ‘country_limit’,20,1);
      function country_limit($country){
      return array(‘United Arab Emirates’,’france’);
      }` in my function.php
      The fact is that it also restrict billing and shipping countries to these two country.
      I only need the restriction for vendor registration not in woocommerce checkout

    • #116818

      Hi,
      For this you have to modify and add some custom code. Kindly override templates/vendor_registration_form.php template by copying it to yourtheme/dc-product-vendor/vendor_registration_form.php
      And add your custom code.
      Regards,

Viewing 4 reply threads

The topic ‘Vendor registration with dynamic city dropdown field’ is closed to new replies.