Package DE_EPAGES::MultiStore::API::Object::AffiliateProduct
object interface for AffiliateProduct.
Base |
DE_EPAGES::Product::API::Object::Product |
Functions
className
Returns the class name, used for DAL access.
Syntax |
$ClassName = $Product->className; |
Return |
|
cloneToSubShop
Clones an affiliate product to a sub shop
Syntax |
$SubShopProduct = $Product->cloneToSubShop( $SubShopCategory ); |
Input |
|
Return |
|
featureName
Returns the feature name.
Syntax |
$FeatureName = $Product->featureName; |
Return |
|
getDirectListPrice
Returns the list price that is defined on directly on this product object. Returns undef if $Product is a sub product that does not have its own price and inherits its price from the super product. HAD TO BE OVERWRITTEN because the method was directly accessing the price map instead of calling get('ListPrices').
Syntax |
$Value = $Product->getDirectListPrice($CurrencyID, $TaxModel); |
Example |
$Value = $Product->getDirectListPrice('EUR', 1); |
Input |
|
Return |
|
getSite
Returns the site of the current session, and if not set, use default implementation and get the site of this object
Syntax |
$Site = $Object->getSite; |
Return |
|
incrementFeature
Do not increment a feature on AffiliateProducts.
Syntax |
incrementFeature() |