Example #1
0
 /**
  * Return the config value for self::CONFIG_XML_PATH_CROSS_BORDER_TRADE_ENABLED
  *
  * @param Mage_Core_Model_Store|int $store
  * @return int
  */
 public function crossBorderTradeEnabled($store = null)
 {
     if ($this->_getDataHelper()->isServiceEnabled($store)) {
         if ($this->_getTaxDataHelper()->priceIncludesTax($store)) {
             return true;
         }
         return false;
     }
     return parent::crossBorderTradeEnabled($store);
 }
Example #2
0
 /**
  * Return whether cross border trade is enabled or not
  *
  * @param   null|int $store
  * @return boolean
  */
 public function isCrossBorderTradeEnabled($store = null)
 {
     return (bool) $this->_config->crossBorderTradeEnabled($store);
 }