ePages 6.17.35 - DE_EPAGES/Product/API/TLE/TemplateTypeHandler.pm

Package DE_EPAGES::Product::API::TLE::TemplateTypeHandler

provides TLE #TemplateTypeAlias which returns the alias of the used template type of a given product

Functions

TemplateTypeAlias

TemplateTypeAlias

Returns the alias of the used template type (base or variation) of the given product

Syntax
#TemplateTypeAlias(#ProductID)
#TemplateTypeAlias(#ProductID, "Variation")
Example
#TemplateTypeAlias(#ID)
#TemplateTypeAlias(#ID, "Variation")
Input
#ProductID (integer)
id of the product
#Variation (string (optional))
"Variation" to get variation template type
Return
#TemplateTypeAlias (string)
alias of the used template type