Class Mage_Bundle_Model_Resource_Price_Index
Bundle Product Price Index Resource model
- Mage_Core_Model_Resource_Abstract
- Mage_Core_Model_Resource_Db_Abstract
- Mage_Bundle_Model_Resource_Price_Index
Direct known subclasses
Mage_Bundle_Model_Mysql4_Price_Index
Package: Mage\Bundle
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/Bundle/Model/Resource/Price/Index.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/Bundle/Model/Resource/Price/Index.php
protected
|
|
protected
|
|
protected
array
|
|
protected
array
|
|
public
array
|
#
getProducts( Mage_Core_Model_Product|
Retrieve product ids array by product condition |
public
|
#
reindex( Mage_Core_Model_Product|
Reindex Bundle product Price Index |
protected
|
|
protected
|
#
_savePriceIndex( integer $productId, integer $websiteId, integer $groupId, float $minPrice, float $maxPrice )
Save price index |
public
array
|
|
public
array
|
#
getProductsSalableStatus( integer|array $products,
Retrieve salable product statuses |
public
array
|
#
getProductsPriceFromIndex( integer|array $productIds )
Retrieve Selection Product price from Price Index Return index key {entity_id}-{website_id}-{customer_group_id} |
public
array
|
#
getProductsPriceData( integer|array $products,
Retrieve product(s) price data |
protected
|
#
_addAttributeDataToSelect( Varien_Db_Select $select, string $attributeCode,
Add attribute data to select |
protected
float
|
#
_getBasePrice( integer $productId, array $priceData,
Retrieve fixed bundle base price (with special price and rules) |
public
array
|
#
getCustomOptions( integer $productId,
Retrieve custom options for product |
public
array
|
#
_calculateCustomOptions( array $options, float $basePrice, float $minPrice, float $maxPrice )
Calculate custom options price Return array with indexes(0 -> min_price, 1 -> max_price) |
public
array
|
#
_calculateBundleSelections( array $options, array $salableStatus, integer $productId, integer $priceType, float $basePrice, array $priceData, array $priceIndex,
Calculate minimal and maximal price for bundle selections Return array with prices (0 -> min_price, 1 -> max_price) |
public
float
|
#
_calculateSpecialPrice( float $finalPrice, array $priceData,
Apply special price |
public
array
|
#
loadPriceIndex( integer|array $productIds, integer $websiteId, integer $groupId )
Retrieve price index for products |
protected
array
|
$_attributes | array() |
#
EAV attributes cache |
protected
array
|
$_websites |
|
#
Websites cache |
protected
array
|
$_customerGroups |
|
#
Customer Groups cache |
$_commitCallbacks
|