Class Mage_Catalog_Helper_Product
Catalog category helper
- Mage_Core_Helper_Abstract
- Mage_Core_Helper_Url
- Mage_Catalog_Helper_Product
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/Helper/Product.php
public
string
|
|
public
float
|
|
public
float
|
|
public
string
|
|
public
unknown
|
|
public
unknown
|
|
public
|
|
public
|
|
public
boolean
|
#
canShow(
Check if a product can be shown |
public
string
|
|
public
boolean
|
|
public
array
|
#
getAttributeInputTypes( string $inputType = null )
Return information array of product attribute input types Only a small number of settings returned, so we won't break anything in current dataflow As soon as development process goes on we need to add there all possible settings |
public
string|null
|
#
getAttributeBackendModelByInputType( string $inputType )
Return default attribute backend model by input type |
public
string|null
|
#
getAttributeSourceModelByInputType( string $inputType )
Return default attribute source model by input type |
public
false|
|
#
initProduct( integer $productId,
Inits product to be used for product controller actions and layouts $params
can have following data: |
public
|
#
prepareProductOptions(
Prepares product options by buyRequest: retrieves values and assigns them as default. Also parses and adds product management related values - e.g. qty |
public
Varien_Object
|
#
addParamsToBuyRequest( Varien_Object|array $buyRequest, Varien_Object|array $params )
Process $buyRequest and sets its options before saving configuration to some product item. This method is used to attach additional parameters to processed buyRequest. |
public
|
#
getProduct( integer|string $productId, integer $store, string $identifierType = null )
Return loaded product instance |
public
|
#
setSkipSaleableCheck( boolean $skipSaleableCheck = false )
Set flag that shows if Magento has to check product to be saleable (enabled and/or inStock) |
public
boolean
|
#
getSkipSaleableCheck( )
Get flag that shows if Magento has to check product to be saleable (enabled and/or inStock) |
_prepareString(),
addRequestParam(),
getCurrentBase64Url(),
getCurrentUrl(),
getEncodedUrl(),
getHomeUrl(),
removeRequestParam()
|
string |
XML_PATH_PRODUCT_URL_SUFFIX
|
'catalog/seo/product_url_suffix' |
|
string |
XML_PATH_PRODUCT_URL_USE_CATEGORY
|
'catalog/seo/product_use_categories' |
|
string |
XML_PATH_USE_PRODUCT_CANONICAL_TAG
|
'catalog/seo/product_canonical_tag' |
protected
boolean
|
$_skipSaleableCheck | false |
#
Flag that shows if Magento has to check product to be saleable (enabled and/or inStock) |
protected
array
|
$_productUrlSuffix | array() |
#
Cache for product rewrite suffix |
protected
mixed
|
$_statuses |
|
|
protected
mixed
|
$_priceBlock |
|
$_layout,
$_moduleName,
$_request
|