diff --git a/modules/tax/src/Plugin/Commerce/TaxType/TaxTypeBase.php b/modules/tax/src/Plugin/Commerce/TaxType/TaxTypeBase.php index ce86448a..deccf0c2 100644 --- a/modules/tax/src/Plugin/Commerce/TaxType/TaxTypeBase.php +++ b/modules/tax/src/Plugin/Commerce/TaxType/TaxTypeBase.php @@ -281,15 +281,11 @@ abstract class TaxTypeBase extends PluginBase implements TaxTypeInterface, Conta } } } - if (!$address && $this->isDisplayInclusive()) { - // Customer is still unknown, but prices are displayed tax-inclusive + if (!$address) { + // Customer is still unknown. // (VAT scenario), better to show the store's default tax than nothing. $address = $order->getStore()->getAddress(); } - if (!$address) { - // A customer profile isn't usable without an address. Stop here. - return NULL; - } $tax_number = NULL; if (isset($order_profiles['billing'])) {