• Resolved ruen06

    (@ruen06)


    Hi,

    I used your Address Formats module to show same address format for all countries on Woocommerce Edit Order page. However, by Woocommerce default, the billing country will not be shown if the billing country is the same as the store’s country.
    I got a code from Woocommerce support, but with your plugin module activated, the code will not work. If disable the module, we will not have the same address format for all countries.

    Do you have any idea how to solve this? I tried using your custom php module to insert the code but not working as well.

    The code provided is
    add_filter( 'woocommerce_formatted_address_force_country_display', '__return_true' );

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce custom php code doesn’t work’ is closed to new replies.