can you set default shipping information?
-
So I want to set my default shipping country to the US and have tried looking around the internet and found this code.
add_filter( ‘default_checkout_billing_country’, ‘change_default_checkout_country’ );
function change_default_checkout_country() {
return ‘US’; // country code for United States
}
Sadly it does not work. is there a different way to do this?
I first posted this on the woocommerce forms and they told me that I should come here to the plugin that I am using for my checkout page. Is there some edit I need to add to this code?The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘can you set default shipping information?’ is closed to new replies.