Example #1
0
 /**
  * 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);
 }
Example #2
0
 /**
  * Get shipping methods prices display type
  *
  * @param mixed $store
  * @return int
  */
 public function getShippingPriceDisplayType($store = null)
 {
     return $this->_config->getShippingPriceDisplayType($store);
 }