Calculate base store taxes including the store's zip and city

This commit is contained in:
James Allan 2019-05-14 13:43:57 +10:00
parent 3755b23db5
commit 45b461639e
1 changed files with 2 additions and 2 deletions

View File

@ -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;