diff --git a/assets/js/script.js b/assets/js/script.js index b7d7206..1a62a02 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -52,6 +52,7 @@ var startCheckout = { var $state = $(this); var $wrapper = $state.closest('.woocommerce-billing-fields, .woocommerce-shipping-fields'); var $cityField = $wrapper.find('[id*="_city_field"]'); + var $country = $wrapper.find('[name="billing_country"], [name="shipping_country"]'); // only run if Country is Indonesia if($country.val() === 'ID') { diff --git a/woocommerce-indo-shipping.php b/woocommerce-indo-shipping.php index f8ed76f..42438dc 100644 --- a/woocommerce-indo-shipping.php +++ b/woocommerce-indo-shipping.php @@ -5,7 +5,7 @@ Plugin URI: http://github.com/hrsetyono/wc-indo-shipping Author: The Syne Studio Author URI: http://thesyne.com/ -Version: 1.1.3 +Version: 1.1.3b */ if(!defined('ABSPATH') ) { exit; } // exit if accessed directly