• Resolved e222w

    (@e222w)


    Hello,
    Thank you very much for the really great plugin.
    During testing, I noticed the following little thing, for which I haven’t been able to find a solution so far.

    The output of the billing address (billing_address()) looks like this for me

    Name
    Street
    City
    Zip code

    But it is expected:
    Name
    Street
    Zipcode City

    I found out that formatting for Germany is done like this
    ‘DE’ => “{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}”,

    There are no other plugins in use that have an impact on the formatting of the address. I only unset billing_country and billing_state in checkout because there is only 1 default country (Germany) defined.
    What could be the reason? Many thanks for your help….

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    We use the output provided by WooCommerce for the addresses, that is, we do not modify or filter them. So, if you are seeing a different output than the default for your country, maybe another plugin is filtering it.

    Although it seems that you already manage to configured it, if you need more help on this, please check this article from the plugin’s Docs: Changing the address format

    Thread Starter e222w

    (@e222w)

    Thank you, I was able to solve the problem with a filter…

    Plugin Contributor Yordan Soares

    (@yordansoares)

    I’m happy to hear that you managed to solve it by yourself! 💪

    If you don’t mind and have the time, do you think you could leave us a review?

    Thanks in advance and all the best with your store!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Zipcode after Country Issue’ is closed to new replies.