• Resolved tekihatsu

    (@tekihatsu)


    Hi all
    I’m trying this pluging but there is something wrong displaying address in PDF.
    Why do you display zip code at a different line ?
    It should be like that:
    75000 Paris

    and not
    75000
    Paris

    Is there a way to fix it ?
    Thnaks for your reply

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! The official address format for French addresses in WooCommerce is indeed with the city name (uppercase) and postal code on one line:

    
    {company}
    {name}
    {address_1}
    {address_2}
    {postcode} {city_upper}
    {country}
    

    The fact that your shop shows the city on a separate line and not uppercase (“Paris” rather than “PARIS”), indicates that something in your setup is overriding this. Have you installed any plugins that make modifications to the checkout fields? If so, can you check if deactivating the plugin(s) solves the issue?
    Can you double check that a country is selected in the address? WooCommerce can only determine the correct format if a country is stored in the order data too, otherwise it falls back to the default.

    All of the above applies to WooCommerce as a whole. Our plugin (assuming you’re using only the free version) does not make any modifications to the address. You’ll probably find that the same formatting is applied in the email sent by WooCommerce, the address shown on the “Order received” page, my account page etc.

    • This reply was modified 5 years, 10 months ago by Ewout.
    Thread Starter tekihatsu

    (@tekihatsu)

    Thanks for reply
    I gonna try to fix it in a few days and I will be back to you if solved.
    I use the free version and I will buy the pro in a couple of weeks for my client.
    regards

    Thread Starter tekihatsu

    (@tekihatsu)

    Hi Ewout
    You were very right !
    Sometimes, I feel like an idiot.
    Of course my test was with Egypt country and after I changed to France, everything is back right.
    Sorry for the disturb and thanks so much
    Regards

    • This reply was modified 5 years, 10 months ago by tekihatsu.
    • This reply was modified 5 years, 10 months ago by tekihatsu.
    Plugin Contributor Ewout

    (@pomegranate)

    No worries, things like that happen to all of us every once in a while ??

    If you can spare a minute I’d really appreciate a review here on www.ads-software.com:
    https://www.ads-software.com/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/#new-post

    Thanks in advance and happy selling!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Formatting address’ is closed to new replies.