示例#1
0
 /**
  * Check if we need subtract store tax amount from shipping
  *
  * @deprecated after 1.4.0.0
  * @param Mage_Sales_Model_Quote_Address $address
  * @return bool
  */
 protected function _needSubtractShippingTax($address)
 {
     $store = $address->getQuote()->getStore();
     if ($this->_config->shippingPriceIncludesTax($store) || $this->_config->getNeedUseShippingExcludeTax()) {
         return true;
     }
     return false;
 }
示例#2
0
 /**
  * Check if product prices inputted include tax
  *
  * @param   mix $store
  * @return  bool
  */
 public function priceIncludesTax($store = null)
 {
     return $this->_config->priceIncludesTax($store) || $this->_config->getNeedUseShippingExcludeTax();
 }