Hi,
This seems to be an issue related to your WooCommerce settings and not specifically our checkout module.
If I understand your question correctly, I think you can find your answer in this thread:
https://wordpress.org/support/topic/predefined-country-in-cart-and-checkout-page/
Best regards.
That would narrow the countries down on all our checkouts, not just Svea checkout. We use Svea specifically for Swedish customers when the Swedish language is chosen.
I thought that “Country availability” and “Specific Countries” Was meant to narrow the checkout down to a Specific country so it wouldn’t be cluttered with unused countries.
Hi again,
When selecting “Specific countries” in the settings, these are the only countries that show up in the select-box on our checkout-page. We have updated the settings in our demo-environment: https://sco-demo.tgen.se/
Where you can see that you only can select some countries. If you only select one country, the select-box should disappear and it should be predefined.
Could you send us a ticket at support@thegeneration.se with your store URL?
I’ll send you a ticket as this is not the behavior we’re getting at our checkout. Thanks.
This issue has now been resolved. The problem description and solution can be found below for future reference.
“WooCommerce Multilingual” is a plugin that adds multilingual functionality to WooCommerce together with WPML. It added an option for each payment gateway to restrict the gateway to a specific country. This is not a native option in WooCommerce, and is made to disable a specific gateway in the standard checkout if the country conditions are not met.
The solution for this issue is to add custom code which hooks into the filter woocommerce_countries
and check if the current page contains the shortcode svea_checkout
. If so – the countries that should be enabled can be returned from the filter callback.