Class Mage_Catalog_Model_Product_Type_Configurable
Configurable product type implementation
This type builds in product attributes and existing simple products
- Mage_Catalog_Model_Product_Type_Abstract
-
Mage_Catalog_Model_Product_Type_Configurable
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/Configurable.php
public
Varien_Object
|
|
public
array
|
#
getChildrenIds( integer $parentId, boolean $required = true )
Retrieve Required children ids Return grouped array, ex array( |
public
array
|
|
public
array
|
#
getEditableAttributes(
Retrieve product type attributes |
public
boolean
|
#
canUseAttribute(
Checkin attribute availability for create superproduct |
public
|
#
setUsedProductAttributeIds( array $ids,
Declare attribute identifiers used for assign subproducts |
public
array
|
#
getUsedProductAttributeIds(
Retrieve identifiers of used product attributes |
public
array
|
#
getUsedProductAttributes(
Retrieve used product attributes |
public
array
|
#
getConfigurableAttributes(
Retrieve configurable attributes data |
public
array
|
#
getConfigurableAttributesAsArray(
Retrieve Configurable Attributes as array |
public
|
#
getConfigurableAttributeCollection(
Retrieve configurable attribute collection |
public
array
|
|
public
array
|
#
getUsedProducts( array $requiredAttributeIds = null,
Retrieve array of "subproducts" |
public
|
#
getUsedProductCollection(
Retrieve related products collection |
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
#
getIsSalable(
Check whether the product is available for sale is alias to isSalable for compatibility |
public
|
#
getProductByAttributes( array $attributesInfo,
Retrieve used product by attribute values |
public
array
|
#
getSelectedAttributesInfo(
Retrieve Selected Attributes info |
protected
array|string
|
#
_prepareProduct( Varien_Object $buyRequest,
Prepare product and its configuration to be added to some products list. Perform standard preparation process and then add Configurable specific options. |
public
|
|
public
string
|
|
public
array
|
#
getOrderOptions(
Prepare additional options/information for order item which will be created from this product |
public
boolean
|
|
public
boolean
|
|
public
decimal
|
#
getWeight(
Return product weight based on simple product weight or configurable product weight |
public
|
#
assignProductToOption(
Implementation of product specify logic of which product needs to be assigned to option. For example if product which was added to option already removed from catalog. |
public
array
|
#
getProductsToPurchaseByReqGroups(
Retrieve products divided into groups required to purchase At least one product in each group has to be purchased |
public
string
|
|
public
array
|
#
processBuyRequest(
Prepare selected options for configurable product |
public
boolean|null
|
#
isMapEnabledInOptions(
Check if Minimum Advertise Price is enabled at least in one option |
public
array
|
#
getConfigurableOptions(
Prepare and retrieve options values with product data |
string |
TYPE_CODE
|
'configurable' |
CALCULATE_CHILD,
CALCULATE_PARENT,
OPTION_PREFIX,
PROCESS_MODE_FULL,
PROCESS_MODE_LITE,
SHIPMENT_SEPARATELY,
SHIPMENT_TOGETHER
|
protected
string
|
$_usedProductAttributeIds | '_cache_instance_used_product_attribute_ids' |
#
Cache key for Used Product Attribute Ids |
protected
string
|
$_usedProductAttributes | '_cache_instance_used_product_attributes' |
#
Cache key for Used Product Attributes |
protected
string
|
$_usedAttributes | '_cache_instance_used_attributes' |
#
Cache key for Used Attributes |
protected
string
|
$_configurableAttributes | '_cache_instance_configurable_attributes' |
#
Cache key for configurable attributes |
protected
string
|
$_usedProductIds | '_cache_instance_product_ids' |
#
Cache key for Used product ids |
protected
string
|
$_usedProducts | '_cache_instance_products' |
#
Cache key for used products |
protected
boolean
|
$_isComposite | true |
#
Product is composite |
protected
boolean
|
$_canConfigure | true |
#
Product is configurable |
$_canUseQtyDecimals,
$_fileQueue,
$_typeId
|