Okay
  Public Ticket #4147689
Country field
Closed

Comments

  •  1
    Peter Lassen started the conversation

    Hi,

    I was just testing user registration - maybe I set something wrong?

    See picture - When I select Danmark as country - I still have to add a "state" - DK is way too small to have "states". 

    Attached files:  b2bking2025-07-16_11-07-03.jpg

  •  2,478
    WebWizards replied

    Hi Peter,

    Thank you for purchasing our plugin,

     

    For the country / state there, B2BKing uses a standard WooCommerce input field. It should only show states for countries that have them. 

    I went to https://jbo.dk/my-account/ now to see how that behaves but in my test it did seem to correctly hide the states field when selecting Danmark: 

    8652744759.png

     

    Did you change anything in the meantime? Are you still seeing the issue in your tests?

    Or I wonder if perhaps you are testing at a different URL than https://jbo.dk/my-account/ - if so, there may be some kind of JS error there,

     

    Please let me know more details about where you are testing that and whether you still see the problem,

     

    Kind regards,

    Stefan

     

  •  1
    Peter Lassen replied

    Hi Stefan,

    hahahah.... Now it works - even for me!

    I will keep an eye on that country :) - Thx for the test!