• Resolved yuluma

    (@yuluma)


    Is their any possibilities to show the complete address (including the country) on the address? Did some 15 minute search on this forum and the site of the creator of the plugin but can’t find an answer.

    The page I need help with: [log in to see the link]

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

    (@pomegranate)

    Hi! WooCommerce hides the country name if it’s the same as the base country of the shop, for all other countries it will (should) already show the country name.
    To override the default woocommerce behavior and show the country name for domestic orders too, you have to use a filter:

    
    add_filter( 'woocommerce_formatted_address_force_country_display', '__return_true' );
    

    If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters

    Thread Starter yuluma

    (@yuluma)

    Wow Ewout, that was a fast reply. Thank you for you explanation!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Country not available on packing slip and invoice?’ is closed to new replies.