/** * Return whether display setting is to display price excluding tax * * @return bool */ public function displayPriceExclTax() { switch ($this->zone) { case PricingRender::ZONE_CART: return $this->taxHelper->displayCartPriceExclTax($this->storeId); case PricingRender::ZONE_EMAIL: case PricingRender::ZONE_SALES: return $this->taxHelper->displaySalesPriceExclTax($this->storeId); default: return $this->taxHelper->displayCartPriceExclTax($this->storeId); } }