• Resolved drag0s

    (@drag0s)


    Hi!

    I use some custom filters in functions.php to customize the Checkout page.

    I’ve unset the Country field (both in billing & shipping) so it’s hidden but then the plugin only suggests addresses from US, if I add the field back the autocomplete functions properly with the address set as default in WooCommerce.

    Is there a workaround to this?

    Thank you!

    • This topic was modified 7 years, 1 month ago by drag0s.
    • This topic was modified 7 years, 1 month ago by drag0s.
    • This topic was modified 7 years, 1 month ago by drag0s.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor natekinkead

    (@natekinkead)

    Yes, in your case, instead of unsetting the country field using functions.php, I would recommend you simply hide that field using CSS.

    Thread Starter drag0s

    (@drag0s)

    Yes, I thought about this but I was hoping there was a more elegant solution to this but if we can’t do anything quick about it, I guess I’ll just settle with this for the moment.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘US only addresses when billing_city is unset’ is closed to new replies.