\FireGento_MageSetup_Model_Tax_Config
Tax config model with new shipping tax class calculation
- Author: FireGento Team <team@firegento.com>
Constants
- XML_PATH_SHIPPING_TAX_ON_PRODUCT_TAX = 'tax/classes/shipping_tax_on_product_tax'
- USE_HIGHEST_TAX_ON_PRODUCTS = 1
- USE_TAX_DEPENDING_ON_PRODUCT_VALUES = 2
Methods
-
publicgetShippingTaxClass( Mage_Core_Model_Store $store )
- Get tax class id specified for shipping tax estimation based on highest product tax rate of the products in the current customer quote.
$store
- Store Model- Shipping tax class id
-
protected_loadTaxCalculationRate( Mage_Sales_Model_Quote_Item $item )
- Gets tax percents for current sales quote item
$item
- Quote Item- Tax percent for the given quote item