Skip to main content
Reference

Top Level Template Variables

note

Work in Progress.

info

Top level variables are objects inserted into the Velocity Context so you may access the directly without having to go through another variable or creating them with a #set command.

These variables should be available to all storefront templates

Variable NameObject TypeComments
$advancedItemSearchManagerAdvancedItemSearchManager 
$amazonS3AmazonS3 
$baseThumbnailUrlstring"https://secure.ultracart.com/thumbs/" or "http://secure.ultracart.com/thumbs/"
$baseUrlstring[https://yoursite.com](https://yoursite.com)
$baseUrlHttpstringhttp://yoursite.com (non-SSL)
$breadcrumbHelperBreadcrumbHelper 
$cartCart$cart.getCartId() to retrieve the shopping cart id
$checkoutHostNamestring 
$checkoutUrlstring 
$checkoutUrlHttpsstring 
$containerManagerContainerManager 
$cssManagerCssManager 
$ctxContext 
$dateManagerDateManager 
$escapeEscapeTool 
$fontManagerFontManager 
$formatHelperFormatHelper 
$geolocationManagerGeolocationManager 
$JSONManagerJSONManager 
$languageIsoCodestring"ENG"
$menuManagermenuManager 
$merchantIDstring 
$merchantIdstring 
$merchantLoggedInbooleantrue if merchant is logged in and viewing the page
$myAccountUrlstring 
$myAccountUrlHttpsstring 
$numberNumberTool 
$paymentMethodManagerPaymentMethodManager 
$queryStringstring 
$referrerstringthis is theHeader("Referer")
$remoteIPAddressstring 
$renderRenderTool 
$requestURIstring 
$scriptManagerScriptManager 
$searchEnginebooleantrue if this page is a search page
$searchTermstringthe search terms found in the query string
$siteSite 
$socialNetworkHelperSocialNetworkHelper 
$sorterSortTool 
$themeTheme 
$twitterManagerTwitterManager 
Was this page helpful?