/** * Get shipping methods prices display type * * @param Mage_Core_Model_Store|int $store * @return int */ public function getShippingPriceDisplayType($store = null) { if ($this->_getDataHelper()->isServiceEnabled($store)) { if ($this->_getTaxDataHelper()->shippingPriceIncludesTax($store)) { return Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX; } return Mage_Tax_Model_Config::DISPLAY_TYPE_EXCLUDING_TAX; } return parent::getShippingPriceDisplayType($store); }
/** * Get shipping methods prices display type * * @param mixed $store * @return int */ public function getShippingPriceDisplayType($store = null) { return $this->_config->getShippingPriceDisplayType($store); }