• Here’s something that has an almost daily annoyance when using the plugin.

    On the checkout page for the street address, there’s one line for
    [House number and stree aka billing_address_1]
    and a second line for
    [Apartment, suite, unit etc. (optional) aka billing_address_2]

    see:

    View post on imgur.com

    Now on the PDF label the plugin merges these two fields in an inappropriate way like:
    Firstname Lastname
    billing_address_1 billing_address_2
    zipcode city

    That is, both get on one line which is incorrect and causes packets to be not delivered because the address is “wrong” or the recipient cannot be found.

    Another problem of merging these two lines together (without any separator in the middle by the way) in such a way is that the line just becomes way to long.

    It should be
    Firstname Lastname
    billing_address_2
    billing_address_1
    zipcode city

    I do not know about other countrys, but in Germany this would be the correct way because the order is always from most detail (top) to least detail bottom in Germany for adressing.

    At the moment we have to manually adjust the shipping address of about every forth order in the WooCommerce backend due to this. Can this be changed?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Shadi Manna

    (@shadim)

    It is not clear what you are adjusting the address from and then to, can you give an example? Does this happen in the case that “address_2” is not filled out or some other scenario?

    Thread Starter gerd.neumann

    (@gerdneumann)

    Hi Shadi,

    Here’s an example.

    On the checkout page the user enters:

    firstname: Gerd
    Lastname: Neumann

    Street address:
    House number and street field: Highstreet 123
    Apartment, suite, unit field: University of Hamburg, Department of Arts, Room 987, Secretary

    Town / City: Hamburg

    Postcode / ZIP: 12045

    The plugin creates this address on the PDF:

    Gerd Neumann
    Highstreet 123 University of Hamburg, Department of Arts, Room 987, Secretary
    12045 Hamburg

    But the address should be:

    Gerd Neumann
    University of Hamburg, Department of Arts, Room 987, Secretary
    Highstreet 123 
    12045 Hamburg

    Now, on the second field people sometimes also fill in things like 1st floor, c/o Mr Mueller (my husband). So then the DHL pdf would be (to give another example):

    Gerd Neumann
    Highstreet 123 1st floor, c/o Mr Mueller (my husband)
    12045 Hamburg

    where it should be:

    Gerd Neumann
    1st floor, c/o Mr Mueller (my husband)
    Highstreet 123 
    12045 Hamburg

    So you can imagine how wrong this is when those two lines simply get merged. We get lots of problems with DHL due to this (packages not being delivered because “street is not known”)

    For in-depth description please re-read above’s first post.

    Please see also here: https://en.wikipedia.org/wiki/Address_(geography)#Germany

    So what the plugin is doing is to merge is More detailed description of addressee (optional) and the Streetname + number into one line where it should be two separted lines like in the example at wikipedia.

    • This reply was modified 6 years, 10 months ago by gerd.neumann.

    If you enter the additional information in the “Company” section, the address will be displayed correctly.

    Thread Starter gerd.neumann

    (@gerdneumann)

    > If you enter the additional information in the “Company” section, the address will be displayed correctly.

    It’s not the shop managers entering the address but the customers. So what you describe is how this can be fixed afterwards using this workaround, but it means a lot of work for shopmanagers (If I need to edit the address, than it’s almost as fast using the dhl business portal directly). Also, I think it’s a misuse of the Company field (customers see this when looking at the order in their account).

    Would be better if the DHL plugin would fix this at the root by matching the WooCommerce address fields in a correct way to the PDF label address fields.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘billing_address_1 and billing_address_2 should be separate lines and not merged’ is closed to new replies.