Check what country field is selected in checkout

jQuery(document).on('change', '#billing_country', function() {
  if (jQuery("#select2-billing_country-container").text() == "Deutschland") {
        console.log('Deutschland');
    } else {
        console.log('Other country');
    }
});

Leave a Reply

Your email address will not be published. Required fields are marked *