Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Default Country

$
0
0

Replies: 0

I need to set a default Country, but for me the option ‘Enable/Disable Field’ is greyed out for ‘Country / Region’ and therefore no Country is stored with my orders.

The default WooCommerce behaviour when only one country is available (as is the case for my situation), is to have a hidden field with the value in – but this seemingly isn’t generated when the plugin is active?

I’ve tried with ‘default_checkout_billing_country’ but I don’t think the filter works when there’s no hidden input in the form?


Viewing all articles
Browse latest Browse all 59525

Trending Articles