Class Mage_ImportExport_Model_Import_Entity_Product_Type_Configurable
Import entity configurable product type model
- Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract
-
Mage_ImportExport_Model_Import_Entity_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/ImportExport/Model/Import/Entity/Product/Type/Configurable.php
protected
|
#
_addAttributeParams( string $attrSetName, array $attrParams )
Add attribute parameters to appropriate attribute set. |
protected
array|null
|
#
_getSuperAttributeId( integer $productId, integer $attributeId )
Get super attribute ID (if it is not possible - return NULL). |
protected
boolean
|
#
_isAttributeRequiredCheckNeeded( string $attrCode )
Have we check attribute for is_required? Used as last chance to disable this type of check. |
protected
boolean
|
|
protected
boolean
|
#
_isParticularAttributesValid( array $rowData, integer $rowNum )
Validate particular attributes columns. |
protected
|
|
protected
|
|
protected
|
#
_processSuperData( array $superData, array & $superAttributes )
Validate and prepare data about super attributes and associated products. |
public
|
string |
ERROR_ATTRIBUTE_CODE_IS_NOT_SUPER
|
'attrCodeIsNotSuper' |
#
Error codes. |
string |
ERROR_INVALID_PRICE_CORRECTION
|
'invalidPriceCorr' |
|
string |
ERROR_INVALID_OPTION_VALUE
|
'invalidOptionValue' |
|
string |
ERROR_INVALID_WEBSITE
|
'invalidSuperAttrWebsite' |
protected
array
|
$_messageTemplates | array(
self::ERROR_ATTRIBUTE_CODE_IS_NOT_SUPER => 'Attribute with this code is not super',
self::ERROR_INVALID_PRICE_CORRECTION => 'Super attribute price correction value is invalid',
self::ERROR_INVALID_OPTION_VALUE => 'Invalid option value',
self::ERROR_INVALID_WEBSITE => 'Invalid website code for super attribute'
) |
#
Validation failure message template definitions |
protected
array
|
$_particularAttributes | array(
'_super_products_sku', '_super_attribute_code', '_super_attribute_option',
'_super_attribute_price_corr', '_super_attribute_price_website'
) |
#
Column names that holds values with particular meaning. |
protected
array
|
$_productSuperAttrs | array() |
#
Reference array of existing product-attribute to product super attribute ID. |
protected
array
|
$_skuSuperAttributeValues | array() |
#
Array of SKU to array of super attribute values for all products. |
protected
array
|
$_skuSuperData | array() |
#
Array of SKU to array of super attributes data for validation new associated products. |
protected
array
|
$_superAttributes | array() |
#
Super attributes codes in a form of code => TRUE array pairs. |
protected
array
|
$_superAttrValuesCombs | null |
#
All super attributes values combinations for each attribute set. |
$_attributes,
$_entityModel,
$_forcedAttributesCodes,
$_indexValueAttributes,
$_type
|