Class Mage_Tax_Model_Config
Configuration pathes storage
Package: Mage\Tax
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Tax/Model/Config.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Tax/Model/Config.php
public
boolean
|
|
public
boolean
|
|
public
integer
|
#
getPriceDisplayType( mixed $store = null )
Get product price display type |
public
0|1
|
#
discountTax( null|integer $store = null )
Get configuration setting "Apply Discount On Prices Including Tax" value |
public
string
|
#
getCalculationSequence( null|integer|string|
Get taxes/discounts calculation sequence. This sequence depends on "Apply Customer Tax" and "Apply Discount On Prices" configuration options. |
public
|
|
public
boolean
|
|
public
|
#
setNeedUseShippingExcludeTax( boolean $flag )
Specify flag what we need use shipping price exclude tax |
public
boolean
|
|
public
string
|
|
public
integer
|
|
public
integer
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
string |
CONFIG_XML_PATH_SHIPPING_TAX_CLASS
|
'tax/classes/shipping_tax_class' |
|
string |
CONFIG_XML_PATH_PRICE_INCLUDES_TAX
|
'tax/calculation/price_includes_tax' |
|
string |
CONFIG_XML_PATH_SHIPPING_INCLUDES_TAX
|
'tax/calculation/shipping_includes_tax' |
|
string |
CONFIG_XML_PATH_BASED_ON
|
'tax/calculation/based_on' |
|
string |
CONFIG_XML_PATH_APPLY_ON
|
'tax/calculation/apply_tax_on' |
|
string |
CONFIG_XML_PATH_APPLY_AFTER_DISCOUNT
|
'tax/calculation/apply_after_discount' |
|
string |
CONFIG_XML_PATH_DISCOUNT_TAX
|
'tax/calculation/discount_tax' |
|
string |
XML_PATH_ALGORITHM
|
'tax/calculation/algorithm' |
|
string |
CONFIG_XML_PATH_DEFAULT_COUNTRY
|
'tax/defaults/country' |
|
string |
CONFIG_XML_PATH_DEFAULT_REGION
|
'tax/defaults/region' |
|
string |
CONFIG_XML_PATH_DEFAULT_POSTCODE
|
'tax/defaults/postcode' |
|
string |
CONFIG_XML_PATH_PRICE_DISPLAY_TYPE
|
'tax/display/type' |
#
Prices display settings |
string |
CONFIG_XML_PATH_DISPLAY_SHIPPING
|
'tax/display/shipping' |
|
string |
XML_PATH_DISPLAY_CART_PRICE
|
'tax/cart_display/price' |
#
Shopping cart display settings |
string |
XML_PATH_DISPLAY_CART_SUBTOTAL
|
'tax/cart_display/subtotal' |
|
string |
XML_PATH_DISPLAY_CART_SHIPPING
|
'tax/cart_display/shipping' |
|
string |
XML_PATH_DISPLAY_CART_DISCOUNT
|
'tax/cart_display/discount' |
|
string |
XML_PATH_DISPLAY_CART_GRANDTOTAL
|
'tax/cart_display/grandtotal' |
|
string |
XML_PATH_DISPLAY_CART_FULL_SUMMARY
|
'tax/cart_display/full_summary' |
|
string |
XML_PATH_DISPLAY_CART_ZERO_TAX
|
'tax/cart_display/zero_tax' |
|
string |
XML_PATH_DISPLAY_SALES_PRICE
|
'tax/sales_display/price' |
#
Shopping cart display settings |
string |
XML_PATH_DISPLAY_SALES_SUBTOTAL
|
'tax/sales_display/subtotal' |
|
string |
XML_PATH_DISPLAY_SALES_SHIPPING
|
'tax/sales_display/shipping' |
|
string |
XML_PATH_DISPLAY_SALES_DISCOUNT
|
'tax/sales_display/discount' |
|
string |
XML_PATH_DISPLAY_SALES_GRANDTOTAL
|
'tax/sales_display/grandtotal' |
|
string |
XML_PATH_DISPLAY_SALES_FULL_SUMMARY
|
'tax/sales_display/full_summary' |
|
string |
XML_PATH_DISPLAY_SALES_ZERO_TAX
|
'tax/sales_display/zero_tax' |
|
string |
CALCULATION_STRING_SEPARATOR
|
'|' |
|
integer |
DISPLAY_TYPE_EXCLUDING_TAX
|
1 |
|
integer |
DISPLAY_TYPE_INCLUDING_TAX
|
2 |
|
integer |
DISPLAY_TYPE_BOTH
|
3 |
|
string |
CONFIG_XML_PATH_DEFAULT_PRODUCT_TAX_GROUP
|
'catalog/product/default_tax_group' |
|
string |
CONFIG_XML_PATH_DISPLAY_TAX_COLUMN
|
'tax/display/column_in_summary' |
|
string |
CONFIG_XML_PATH_DISPLAY_FULL_SUMMARY
|
'tax/display/full_summary' |
|
string |
CONFIG_XML_PATH_DISPLAY_ZERO_TAX
|
'tax/display/zero_tax' |
protected
boolean
|
$_needUsePriceExcludeTax | false |
#
Flag which notify what we need use prices exclude tax for calculations |
protected
boolean
|
$_needUseShippingExcludeTax | false |
#
Flag which notify what we need use shipping prices exclude tax for calculations |
protected
mixed
|
$_shippingPriceIncludeTax | null |
#
bool |