• Resolved cto2015

    (@cto2015)


    Hi there,

    our address (German layout) is divided into 2 lines at the pdf, although it’s just entered as 1 line only, So street is one line, and number is another on the generated pdf, which should be 1 line only. How can I fix this?

    I’ve copied the files into my theme already, but I have no clue what to change.

    Thanks in advance.

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

    (@pomegranate)

    Hi!
    If the street and number are printed separately, this means that it was entered separately in the checkout as well. The checkout has 2 lines, if you select Germany it will show like this:

    Your customer probably entered their number in the second line, which WooCommerce really considers as a second line.

    Our plugin takes the formatted address directly from WooCommerce (just as it appears in the backend, in My Account, and the emails sent to you and your customer), if you always want to print the two lines on one line you need to change the address format. We have some documentation about this here:
    Changing the address format (also checkout that ‘WooCommerce Wide’ option)

    Thread Starter cto2015

    (@cto2015)

    Thanks, but I’m referring to our own address. Sorry.

    Plugin Contributor Ewout

    (@pomegranate)

    Could you post a screenshot of what this currently looks like? The address gets 40% of the page width, normally that shouldn’t result in a line break unless your street name is very long. Is it possible that your logo is too wide and pushing the address column? In that case you could adjust the ‘logo height’ setting to something like ’20mm’ for example (default is 3cm).

    Thread Starter cto2015

    (@cto2015)

    Thanks Ewout, this was the issue. After reducing the logo height the issue has been fixed now.

    Thank you so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Street and Number split into 2 lines’ is closed to new replies.