• Resolved tom44

    (@tom44)


    Hi, thanks for the great plugin πŸ™‚ The only issue I have is missing country name on the invoice. I would appreciate if you pointed out how to get the name displayed. Thanks and regards,
    Tom

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

    (@dpeyou)

    Hi @tom44,

    I believe that WooCommerce hides the country name if it’s the same as the base country of the shop, as for all other countries it should already show the country name.
    In order to override this 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 tom44

    (@tom44)

    Hi,
    thank you very much. Great plugin, grat support! Best wishes, Tom

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Country name missing’ is closed to new replies.