Support » Plugin: WooCommerce PDF Invoices & Packing Slips » Changing shipping_address format

  • Resolved Crossy

    (@crossy)


    Hi there,

    Is there a way to change the shipping_address format? I can only see it being pulled from Woocommerce get_formatted_shipping_address but I can’t find a way to manipulate it.

    I’d like to go from:

    Name Lastname
    Address 1
    Address 2
    11111 City
    State
    Country

    to

    Name Lastname
    Address 1
    Address 2
    11111 City, State
    Country

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Plugin Author Ewout

    (@pomegranate)

    Hi Crossy,
    The easiest way to do this is with the Professional extension, which lets you change this format directly from the settings:
    Pro address format settings.
    Alternatively, you could accomplish the same thing with a custom address format. This question on Stackoverflow has some hints on how to do that.

    Hope that helps!
    Ewout

Viewing 1 replies (of 1 total)
  • The topic ‘Changing shipping_address format’ is closed to new replies.