Class Mage_Downloadable_Model_Product_Type
Downloadable product type model
- Mage_Catalog_Model_Product_Type_Abstract
- Mage_Catalog_Model_Product_Type_Virtual
- Mage_Downloadable_Model_Product_Type
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/Downloadable/Model/Product/Type.php
public
array
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
#
hasRequiredOptions(
Check if product has required options |
public
boolean
|
#
getLinkSelectionRequired(
Check if product cannot be purchased with no links selected |
public
|
|
public
boolean
|
|
public
|
#
save(
Save Product downloadable information (links and samples) |
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 prepare options for downloadable links. |
public
|
|
public
array
|
#
getOrderOptions(
Prepare additional options/information for order item which will be created from this product |
public
|
#
beforeSave(
Setting flag if dowenloadable product can be or not in complex product based on link can be purchased separately or not |
public
array
|
#
getSearchableData(
Retrieve additional searchable data from type instance Using based on product id and store_id data |
public
boolean
|
|
public
array
|
#
processBuyRequest(
Prepare selected options for downloadable product |
public
boolean
|
#
canConfigure(
Check if downloadable product has links and they can be purchased separately |
isVirtual()
|
string |
TYPE_DOWNLOADABLE
|
'downloadable' |
CALCULATE_CHILD,
CALCULATE_PARENT,
OPTION_PREFIX,
PROCESS_MODE_FULL,
PROCESS_MODE_LITE,
SHIPMENT_SEPARATELY,
SHIPMENT_TOGETHER
|
$_canConfigure,
$_canUseQtyDecimals,
$_fileQueue,
$_isComposite,
$_typeId
|