• Resolved thinkatcloud

    (@thinkatcloud)


    Hello, I have a problem with the checkout part of woocommerce, I can not put France as a default country at checkout, but I made sure that in woocomerce / adjustment, the adrtesse by default either the shop (which is in France) and I added the script: https://docs.woocommerce.com/document/change-the-default-state-and-country-on-the-checkout/

    But still nothing when I go in checkout the box for the country is empty by default, how can I solve this problem?

    I contacted the support of the theme I use (flatsome) tell me that the problem comes from woocomerce.

    Thank you for your help

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Riaan K.

    (@riaanknoetze)

    Hi there,

    I’ve just tested the code on my local testing installation and it does seem to work as expected. When looking at your checkout page, I am seeing an error though:


    Link to image: https://cld.wthms.co/AXht8N

    While that error doesn’t come from WooCommerce (it doesn’t have an “initAutocomplete” function in the code at all), it looks like this might be related to a Google Maps integration that’s either coming from your theme or a dedicated Google Maps plugin. I recommend deactivating the part of your site that’s using Google Maps (either by temporarly deactivating that plugin or switching themes) to see if you custom code is then working as expected.

Viewing 1 replies (of 1 total)

The topic ‘Default country’ is closed to new replies.