Package DE_EPAGES::Design::API::TLE::StyleHandler
Functions
GetUnityThemeStyleURL
Saves the path to the Unity checkout CSS stylesheet to the shop object, using a GET call to the Unity REST API in case the ChangeAction is PickupBasket or loads the path from the shop object, returns undef in case of an error. This function triggers the hook 'OBJ_LoadCheckoutCSS'.
Syntax |
#GetUnityThemeStyleURL(#Shop, #INPUT.ChangeAction) |
Example |
#LOCAL("UnityCheckoutStylesheetURL", #GetUnityThemeStyleURL(#Object, #INPUT.ChangeAction)) #IF(#UnityCheckoutStylesheet) <link href="#UnityCheckoutStylesheetURL" rel="stylesheet" type="text/css" /> #ENDIF #ENDLOCAL |
Input |
|
Return |
|
STYLEGROUPBYID
Returns the StyleGroup by the given ID.
Syntax |
#STYLEGROUPBYID(#StyleGroupID) |
Input |
|
Return |
|
STYLETEMPLATEBYID
Returns the StyleTemplate by the given ID.
Syntax |
#STYLETEMPLATEBYID(#StyleTemplateID) |
Input |
|
Return |
|
tle
Returns the currently active style.
Syntax |
#Style |