Exemple #1
0
 /**
  * Items should not include tax so that AvaTax can calculate it
  *
  * @param null|bool|int|Mage_Core_Model_Store $store
  * @return bool
  */
 public function priceIncludesTax($store = null)
 {
     if (Mage::helper('avatax')->isAvataxEnabled($store)) {
         return false;
     }
     return parent::priceIncludesTax($store);
 }
 public function priceIncludesTax($store = null)
 {
     $bid_id = Mage::getSingleton('core/session')->getData('bid_id');
     if (!$bid_id) {
         return parent::priceIncludesTax($store);
     } else {
         if ((int) Mage::getStoreConfig('auction/tax/is_included_tax') == 1) {
             return true;
         } else {
             return false;
         }
     }
 }