Ejemplo n.º 1
0
 /**
  * Get product price display type
  *  1 - Excluding tax
  *  2 - Including tax
  *  3 - Both
  *
  * @param Mage_Core_Model_Store|int $store
  * @return  int
  */
 public function getPriceDisplayType($store = null)
 {
     if ($this->_getDataHelper()->isServiceEnabled($store)) {
         if ($this->_getTaxDataHelper()->priceIncludesTax($store)) {
             return Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX;
         }
         return Mage_Tax_Model_Config::DISPLAY_TYPE_EXCLUDING_TAX;
     }
     return parent::getPriceDisplayType($store);
 }
Ejemplo n.º 2
0
 /**
  * Get product price display type
  *  1 - Excluding tax
  *  2 - Including tax
  *  3 - Both
  *
  * @param   mixed $store
  * @return  int
  */
 public function getPriceDisplayType($store = null)
 {
     return $this->_config->getPriceDisplayType($store);
 }