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

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

Implements system-wide TLE variables for shops

Functions

FeaturedActionAvailable
VATID_EXAMPLE

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

VATID_EXAMPLE

Returns an example for a valid vatid for the given country.

Syntax
#FUNCTION("VATID_EXAMPLE", #CountryID)
Example
#LOCAL("VATID", #FUNCTION("VATID_EXAMPLE", #Shop.Address.Country.CountryID))
  #VATID
#ENDLOCAL
Input
#Country (integer)
country identifier
Return
$VATID (string)
vatid example