Package DE_EPAGES::Shop::API::TLE::ShopHandler
Implements system-wide TLE variables for shops
- Shop
- ShopRoot
Functions
ClearObjectCache
Clears cache related to a certain a object.
Syntax |
ClearObjectCache( $Processor, $aObjectIDs ); |
Input |
|
FeaturedActionAvailable
Returns the feature status for the action If both, a regular and an excluding feature are defined, 'NotVisible' will be returned regardless of the state of the regular feature. Applicable to every object with a 'feature' attribute.
Syntax |
#FeaturedActionAvailable(#ShopObject, #Object, #Feature) |
Example |
#IF( #FeaturedActionAvailable(#Shop.Object, #Action.Object) EQ "Allowed" ) ... #ENDIF #IF( #FeaturedActionAvailable(#Shop.Object, #UNDEF, "ProductRating") NE "NotVisible") ... #ENDIF |
Input |
|
Return |
|
HasUntranslatedEntries
Checks for a language dependend attribute of a given shop object if there are empty entries in any of the installed shop languages for an already filled attribute
Syntax |
#HasUntranslatedEntries(#Object, #AttributeName) |
Example |
#IF(#HasUntranslatedEntries(#Object, "Name")) #INCLUDE("BubbleHelp") #ENDIT |
Input |
|
Return |
|
SuggestNextNo
Returns a suggestion for a new alias.
Syntax |
#SuggestNextNo(#ShopObject, #ClassName) #SuggestNextNo(#ShopObject, #ClassName, #Object) |
Example |
#LOCAL("NewAlias", #SuggestNextNo(#Shop.Object, "Invoice", #Order.Object)) #NewAlias #ENDLOCAL |
Input |
|
Return |
|
VATID_EXAMPLE
Returns an example for a valid vatid for the given country.
Syntax |
#VATID_EXAMPLE(#CountryID) |
Example |
#LOCAL("VATID", #VATID_EXAMPLE(#Shop.Address.Country.CountryID)) #VATID #ENDLOCAL |
Input |
|
Return |
|