ePages 6.14.0 - DE_EPAGES/MultiStore/API/Object/SubShopProduct.pm

Package DE_EPAGES::MultiStore::API::Object::SubShopProduct

object interface for SubShopProduct.

Base
DE_EPAGES::Product::API::Object::Product

Functions

featureName
getListPrice
getWithMaster
getWithParent
incrementFeature

featureName

Returns the feature name.

Syntax
$FeatureName = $Product->featureName;
Return
$FeatureName (String)
feature name (undef means no feature count)

getListPrice

Returns the list price of this subshopproduct. Returns the list price of the master product if $Product is a product that does not have its own price, i.e. the attribute HasSubOwnPrices is false. Returns undef if the product does not have a list price.

Syntax
$Value = $Product->getListPrice($CurrencyID, $TaxModel);
Example
$Value = $Product->getListPrice('EUR', 1);
Input
$CurrencyID (string)
currency code
$TaxModel (int)
tax model (1=gross/including tax, 0=net/without tax)
(optional, default=Product.Shop.InputTaxModel)
$ExtraPrecision (int)
extra precision
Return
$Value (float)
price

getWithMaster

Used in TLE context to retrieve information from a subshop product together with the information coming from the master shop

Syntax
$Object->getWithMaster( $aNames, $LanguageID );
Return
$hValues (ref.hash)
return values

getWithParent

Used to retrieve information from a subshop product together with the information coming from the master shop

Syntax
$Object->getWithParent( $aNames, $LanguageID );
Input
$aNames (ref.array.string or string)
attribute names
$LanguageID (integer)
language id
Return
$hValues (ref.hash)
return values

incrementFeature

Do not increment a feature on SubShopProducts.

Syntax
incrementFeature()