Class Mage_Tax_Helper_Data
Catalog data helper
- Mage_Core_Helper_Abstract
- Mage_Tax_Helper_Data
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Tax/Helper/Data.php
public
|
|
public
integer
|
|
public
|
|
public
Mage_Tac_Model_Calculation
|
|
public
float|string
|
#
getProductPrice(
Get product price including store convertion rate |
public
boolean
|
|
public
boolean
|
|
public
|
|
public
integer
|
#
getPriceDisplayType( mixed $store = null )
Get product price display type |
public
false
|
#
needPriceConversion( mixed $store = null )
Check if necessary do product price conversion If it necessary will be returned conversion type (minus or plus) |
public
boolean
|
#
displayFullSummary( mixed $store = null )
Check if need display full tax summary information in totals block |
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
#
displayCartBothPrices( mixed $store = null )
Check if need display cart prices excluding and including tax |
public
boolean
|
|
public
boolean
|
#
displaySalesPriceExclTax( mixed $store = null )
Check if need display order prices excluding price |
public
boolean
|
#
displaySalesBothPrices( mixed $store = null )
Check if need display order prices excluding and including tax |
public
boolean
|
#
displaySalesSubtotalBoth( mixed $store = null )
Check if we need display price include and exclude tax for order/invoice subtotal |
public
boolean
|
#
displaySalesSubtotalInclTax( mixed $store = null )
Check if we need display price include tax for order/invoice subtotal |
public
boolean
|
#
displaySalesSubtotalExclTax( mixed $store = null )
Check if we need display price exclude tax for order/invoice subtotal |
public
boolean
|
#
displayTaxColumn( mixed $store = null )
Check if need display tax column in for shopping cart/order items |
public
string
|
|
public
string
|
#
getAllRatesByProductClass( mixed $store = null )
Get all tax rates JSON for all product tax classes of specific store |
protected
string
|
#
_getAllRatesByProductClass( mixed $store = null )
Get all tax rates JSON for all product tax classes of specific store |
public
float
|
#
getPrice(
Get product price with all tax settings processing |
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
protected
float
|
#
_calculatePrice( float $price, float $percent, boolean $type )
Calculate price imcluding/excluding tax base on tax rate percent |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
float
|
#
getShippingPrice( mixed $price, mixed $includingTax = null, mixed $shippingAddress = null, mixed $ctc = null, mixed $store = null )
Get shipping price |
public
|
|
public
|
#
joinTaxClass( Varien_Db_Select $select, integer $storeId, string $priceTable = 'main_table' )
Join tax class |
public
0|1
|
#
discountTax( null|integer $store = null )
Get configuration setting "Apply Discount On Prices Including Tax" value |
public
0|1
|
#
getTaxBasedOn( mixed $store = null )
Get value of "Apply Tax On" custom/original price configuration settings |
public
boolean
|
|
public
boolean
|
#
applyTaxOnOriginalPrice( mixed $store = null )
Check if tax should be applied just to original price |
public
string
|
#
getCalculationSequence( null|integer|string|
Get taxes/discounts calculation sequence. This sequence depends on "Catalog price include tax", "Apply Tax After Discount" and "Apply Discount On Prices Including Tax" configuration options. |
public
string
|
|
public
array
|
|
public
array
|
integer |
PRICE_CONVERSION_PLUS
|
1 |
|
integer |
PRICE_CONVERSION_MINUS
|
2 |
protected
|
$_config | null |
#
Tax configuration object |
protected
mixed
|
$_calculator | null |
|
protected
mixed
|
$_displayTaxColumn |
|
|
protected
mixed
|
$_taxData |
|
|
protected
mixed
|
$_priceIncludesTax |
|
|
protected
mixed
|
$_shippingPriceIncludesTax |
|
|
protected
mixed
|
$_applyTaxAfterDiscount |
|
|
protected
mixed
|
$_priceDisplayType |
|
|
protected
mixed
|
$_shippingPriceDisplayType |
|
|
protected
integer
|
$_postCodeSubStringLength | 10 |
#
Postcode cut to this length when creating search templates |
$_layout,
$_moduleName,
$_request
|