ePages 6.10 - DE_EPAGES/Shop/API/TLE/ShopHandler.pm

Package DE_EPAGES::Shop::API::TLE::ShopHandler

Implements system-wide TLE variables for shops

Functions

FeaturedActionAvailable

FeaturedActionAvailable

Returns the the feature status for the action

Syntax
#FUNCTION("FeaturedActionAvailable", #ShopObject, #ActionObject, #FeatureObject)
Example
#LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #Action.Object))
  #DisplayFeature
#ENDLOCAL
Input
#ShopObject (object)
shop object
#ActionObject (object)
action object
#FeatureObject (object)
feature object (default: Action.Feature)
Return
$Status (string)
'NotAllowed' action not allowed for feature
or 'NotVisible' action not visible for feature
or 'Allowed' action allowed for feature
or 'LimitReached' feature limit reached for this action
or 'NotAssigned' action not assigned to a feature
or 'NoShop' action called without shop