Class Mage_Catalog_Model_Product_Type_Price
Product type price model
Direct known subclasses
Mage_Bundle_Model_Product_Price, Mage_Catalog_Model_Product_Type_Configurable_Price, Mage_Catalog_Model_Product_Type_Grouped_Price, Mage_Downloadable_Model_Product_Price
Package: Mage\Catalog
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/Catalog/Model/Product/Type/Price.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/Catalog/Model/Product/Type/Price.php
public
decimal
|
|
public
float
|
#
getBasePrice(
Get base price with apply Group, Tier, Special prises |
public
float
|
#
getFinalPrice( float|null $qty = null,
Retrieve product final price |
public
|
#
getChildFinalPrice( mixed $product, mixed $productQty, mixed $childProduct, mixed $childProductQty )
|
protected
float
|
#
_applyGroupPrice(
Apply group price for product |
public
float
|
|
protected
float
|
#
_applyTierPrice(
Apply tier price for product if not return price that was before |
public
float
|
#
getTierPrice( float $qty = null,
Get product tier price by qty |
protected
|
|
protected
float
|
#
_applySpecialPrice(
Apply special price for product if not return price that was before |
public
integer
|
#
getTierPriceCount(
Count how many tier prices we have for the product |
public
array
|
#
getFormatedTierPrice( float $qty = null,
Get formatted by currency tier price |
public
array
|
|
protected
float
|
#
_applyOptionsPrice(
Apply options price |
public static
float
|
#
calculatePrice( float $basePrice, float $specialPrice, string $specialPriceFrom, string $specialPriceTo, float|null|false $rulePrice = false, mixed $wId = null, mixed $gId = null, null|integer $productId = null )
Calculate product price based on special price data and price rules |
public static
float
|
#
calculateSpecialPrice( float $finalPrice, float $specialPrice, string $specialPriceFrom, string $specialPriceTo, mixed $store = null )
Calculate and apply special price |
public
boolean
|
|
public
boolean
|
string |
CACHE_TAG
|
'PRODUCT_PRICE' |
public static
array
|
$attributeCache | array() |