Tweaked member states for tax
This commit is contained in:
parent
b29ab0483f
commit
76cd43499f
|
@ -196,10 +196,10 @@ function woocommerce_tax_rates_setting() {
|
|||
});
|
||||
|
||||
jQuery('tr.tax_rate .select_europe').live('click', function(){
|
||||
jQuery(this).closest('td').find('option[value="AL"], option[value="AD"], option[value="AM"], option[value="AT"], option[value="BY"], option[value="BE"], option[value="BA"], option[value="BG"], option[value="CH"], option[value="CY"], option[value="CZ"], option[value="DE"], option[value="DK"], option[value="EE"], option[value="ES"], option[value="FO"], option[value="FI"], option[value="FR"], option[value="GB"], option[value="GE"], option[value="GI"], option[value="GR"], option[value="HU"], option[value="HR"], option[value="IE"], option[value="IS"], option[value="IT"], option[value="LT"], option[value="LU"], option[value="LV"], option[value="MC"], option[value="MK"], option[value="MT"], option[value="NO"], option[value="NL"], option[value="PO"], option[value="PT"], option[value="RO"], option[value="RU"], option[value="SE"], option[value="SI"], option[value="SK"], option[value="SM"], option[value="TR"], option[value="UA"], option[value="VA"]').attr("selected","selected");
|
||||
jQuery(this).closest('td').find('option[value="BE"],option[value="FR"],option[value="DE"],option[value="IT"],option[value="LU"],option[value="NL"],option[value="DK"],option[value="IE"],option[value="GR"],option[value="PT"],option[value="ES"],option[value="AT"],option[value="FI"],option[value="SE"],option[value="CY"],option[value="CZ"],option[value="EE"],option[value="HU"],option[value="LV"],option[value="LT"],option[value="MT"],option[value="PL"],option[value="SK"],option[value="SI"],option[value="RO"],option[value="BG"]').attr("selected","selected");
|
||||
jQuery(this).closest('td').find('select.tax_chosen_select').trigger("change");
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
jQuery('.taxrows a.add_tax_rate').live('click', function(){
|
||||
var size = jQuery('#tax_rates tr').size();
|
||||
|
|
|
@ -150,6 +150,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
== ==
|
||||
|
||||
* Feature - 'supports' function for gateways.
|
||||
* Tweak - EU states for tax
|
||||
* Tweak - woocommerce_shipping_chosen_method hook
|
||||
* Tweak - Layered nav child taxonomies support
|
||||
* Tweak - Change debug page to status page to make it more noticeable.
|
||||
|
|
Loading…
Reference in New Issue