Calculate base store taxes including the store's zip and city
This commit is contained in:
parent
3755b23db5
commit
45b461639e
|
@ -1319,8 +1319,8 @@ abstract class WC_Abstract_Order extends WC_Abstract_Legacy_Order {
|
||||||
$default = wc_get_base_location();
|
$default = wc_get_base_location();
|
||||||
$args['country'] = $default['country'];
|
$args['country'] = $default['country'];
|
||||||
$args['state'] = $default['state'];
|
$args['state'] = $default['state'];
|
||||||
$args['postcode'] = '';
|
$args['postcode'] = WC()->countries->get_base_postcode();
|
||||||
$args['city'] = '';
|
$args['city'] = WC()->countries->get_base_city();
|
||||||
}
|
}
|
||||||
|
|
||||||
return $args;
|
return $args;
|
||||||
|
|
Loading…
Reference in New Issue