Skip to main content

PageDesign

Short description

Use these functions to design the different page layouts. In addition, several variables with globally relevant information are available.

Global Template Functions

  • Button

  • ButtonOpenBasket — Returns the "Open the shopping cart" button.

  • CatOptionList_Level2

  • CategoryLevel2List_CategoryIdLevel1 — Returns a list of all level 2 categories that are assigned to a specific level 1 category. The level 1 category must be specified.

  • CategoryName4URL — Returns the URL conform name of a category. The category ID must be specified.

  • ContractChangeAllowed

  • EMailDirID — Returns the drop-down list for selecting the newsletter.

  • GetGlobal — This template function retrieves global variables.

  • GetRequestVar

  • GetSystemSetting

  • ItemCategoryOption — Returns options for selecting item categories.

  • ItemProducerFilterSelect — Returns options for filtering the item manufacturer.

  • LP — Returns the translation of a text contained in the language package "General texts". This text must have been saved in this language. The translation is displayed based on the template’s language setting.

  • Link — Returns the URL of a category. The category ID must be specified.

  • Link_AjaxBasket — Returns the URL for opening the individual shopping cart. The ID of the HTML element in which the shopping cart’s content is to be loaded must be specified as a parameter.

  • Link_BankData — Returns the URL to the page that contains your bank details. This page must have been set in the Setup » Client » Select client » Online store » Pages menu.

  • Link_Basket — Returns the URL to the shopping cart.

  • Link_BlogHome — Returns the URL to the blog’s homepage.

  • Link_CancellationRights — Returns the URL to the page that contains information about your cancellation rights. This page must have been set in the System » Client » Select client » Online store » Pages menu.

  • Link_Character — Returns the URL to a characteristic. The characteristic ID must be specified.

  • Link_Checkout — Returns the URL to the checkout.

  • Link_Contact — Returns the URL to the page that contains your contact details. This page must have been set in the Setup » Client » Select client » Online store » Pages menu.

  • Link_CrossSellingItem — Returns the URL to the item’s cross-selling items. The ID of the item for which cross-selling items are to be displayed must be specified.

  • Link_Currency — Returns a URL to a different currency. The corresponding currency symbol is displayed with the prices. The currency must be specified as an alphabetical code based on ISO 4217, e.g. USD for the dollar sign $.

  • Link_CustomerRegistration — Returns the URL to the customer registration.

  • Link_FAQ — Returns a URL to a FAQ folder. The folder ID must be specified. The ID is displayed in the CMS » FAQ menu.

  • Link_File — Makes it possible to provide a download URL to a file. The file must be saved in the CMS » Documents menu. In addition, the file ID must be specified. The ID is displayed in the CMS » Documents menu.

  • Link_FilterCharacter — Returns a URL that contains items with a specific characteristic. The characteristic ID must be specified. The IDs are displayed in the System » Item » Characteristics menu.

  • Link_FilterItem — Returns a URL to items that correspond to a filter result.

  • Link_FirstItem_Cat — Returns a URL to the first item of a category. The category ID must be specified.

  • Link_Forum — Returns the URL to the forum’s homepage.

  • Link_Help — Returns the URL to the help page. This page must have been set in the Setup » Client » Select client » Online store » Pages menu.

  • Link_Home — Returns the URL to the online store’s homepage.

  • Link_ImageList — Returns a URL to an item’s image list. The item ID must be specified.

  • Link_Item — Returns a URL to an item’s detailed item layout. The item ID must be specified.

  • Link_ItemInCat — (Deprecated) Please use Link_Item. This function will be removed in the near future.

  • Link_ItemWishlist — Returns the URL to the wish list.

  • Link_Lang — Returns a URL to a different language of the online store. The language must be specified as an ALPHA-2 code based on ISO 3166-1, e.g. de for German.

  • Link_LegalDisclosure — Returns the URL of the legal disclosure page. This page must have been set in the Setup » Client » Select client » Online store » Pages menu.

  • Link_LostPassword — Returns the URL to the page on which customers can request a new password.

  • Link_MyAccount — Returns the URL to the online store’s My account area.

  • Link_OrderConfirmation — Returns the URL to the order confirmation page.

  • Link_PaymentMethods — Returns the URL to the page that contains information about payment methods. This page must have been set in the Setup » Client » Select client » Online store » Pages menu.

  • Link_PicalikeSearch — Returns a URL to the picalike image search. The item image position must be specified. In addition, the picalike search must be activated in the Setup » Client » Settings » Services » picalike menu.

  • Link_Printout — Returns a URL to the print view of a page. The ID of the category that is to be printed must be specified.

  • Link_Printout_Dir — Returns a URL to the print view of a category and the subcategories. The ID of the parent category must be specified.

  • Link_PrivacyPolicy — Returns a URL to the privacy policy. This page must have been set in the Setup » Client » Select client » Online store » Pages menu.

  • Link_Save — Calls the browser function for saving a category. The category ID must be specified.

  • Link_ShippingCosts — Returns the URL to the page that contains information about your shipping costs. This page must have been set in the Setup » Client » Select client » Online store » Pages menu.

  • Link_Store — Returns the URL to a client (store). The IDs are displayed in the Setup » Client » Select client » Settings menu under Webstore ID. Your standard online store has the ID 0. Consecutive IDs starting with ID 1 are allocated to clients (stores).

  • Link_TermsConditions — Returns the URL to the terms and conditions page. This page must have been set in the Setup » Client » Select client » Online store » Pages menu.

  • Link_TinyBasket — Returns the URL to the shopping cart preview.

  • Link_Watchlist — Returns the URL to the watchlist.

  • Link_Webstore — Returns the URL to a client (store).

  • Link_WebstoreCategory — Returns a URL to the category of a client (store). The ID of the client (store) and the ID of the category must be specified.

  • List_Page_Dir — Returns a list with the names of the categories of the next lower level. The ID of the parent category must be specified.

  • MapTemplateVars — Transfers the values of the object passed to template variables with the same name of the template.

  • ResetCategoryId — Ends the display of the category in a different section.

  • SetCategoryId — Allows you to display the information of a specific category in a different section of the online store.

  • SetGlobal — This template function sets global variables. Use this function within the PageDesignPrepareMainColumn template. This ensures that the value is saved before it is used because this template is built first.

Global Template Variables

  • $ActionPositivResult

  • $AddLightboxJS — Displays images in an overlay.

  • $AddShadowboxJS — Displays images in an overlay.

  • $BankAccount — Contains the bank account number as it was entered in the Setup » Settings » Bank menu.

  • $BankAccountOwner — Contains the account holder as it was entered in the Setup » Settings » Bank menu.

  • $BankCode — Contains the sort code as it was entered in the Setup » Settings » Bank menu.

  • $BankIban — Contains the IBAN as it was entered in the Setup » Settings » Bank menu.

  • $BankName — Contains the name of the bank as it was entered in the Setup » Settings » Bank menu.

  • $BankSwift — Contains the BIC as it was entered in the Setup » Settings » Bank menu.

  • $BaseSSLURL4Links — Contains the fixed part of an encrypted URL which is equivalent to the domain.

  • $BaseURL4Links — Contains the fixed part of an unencrypted URL which is equivalent to the domain.

  • $BasketHighestAgeRestriction

  • $BasketHighestAgeRestrictionDynamic

  • $BasketItemQuantity — Contains the number of items in the shopping cart.

  • $BasketItemQuantityDynamic — Contains the number of items in the shopping cart and the dynamic updating of the number of items.

  • $BasketPreviewContainerId — Contains the ID of the HTML element in which the shopping cart preview is displayed.

  • $BasketReservationTimeLeft — Contains the time that the items in the shopping cart will still be reserved.

  • $BasketTotalSeperatorComma — Causes the total value of the items in the shopping cart to be displayed with a comma as decimal separator.

  • $BasketTotalSeperatorCommaDynamic

  • $BasketTotalSeperatorDot — Causes the total value of the items in the shopping cart to be displayed with a dot as decimal separator.

  • $BasketTotalSeperatorDotDynamic

  • $CancellationRights — Contains the online store’s cancellation rights as saved in the Setup » Client » Select client » Online store » Legal information menu.

  • $Canonical — Contains a canonical tag.

  • $CanonicalUrl

  • $Captchar — Contains a captcha.

  • $CompanyCEO — Contains the name of the company’s chief executive officer. The name of the chief executive officer is saved in the Setup » Settings » Master data menu.

  • $CompanyCity — Contains the city of the company’s place of business. The city is saved in the Setup » Settings » Master data menu.

  • $CompanyCountry — Contains the country of the company’s place of business. The country is saved in the Setup » Settings » Master data menu.

  • $CompanyEmail — Contains the company’s email address. The email address is saved in the Setup » Settings » Master data menu.

  • $CompanyFax — Contains the company’s fax number. The fax number is saved in the Setup » Settings » Master data menu.

  • $CompanyFon — Contains the company’s telephone number. The telephone number is saved in the Setup » Settings » Master data menu.

  • $CompanyHotline — Contains the telephone number of the company’s hotline. The hotline number is saved in the Setup » Settings » Master data menu.

  • $CompanyIsSmallBusiness

  • $CompanyName — Contains the company name. The name is saved in the Setup » Settings » Master data menu.

  • $CompanyStreet — Contains the street name of the company’s place of business. The street name is saved in the Setup » Settings » Master data menu.

  • $CompanyVATNumber — Contains the company’s VAT number. The VAT number is saved in the Setup » Settings » Master data menu.

  • $CompanyZIP — Contains the postcode of the company’s place of business. The postcode is saved in the Setup » Settings » Master data menu.

  • $Container_Guestbook — Contains the online store’s guestbook. This includes existing entries and the form for new entries.

  • $Container_MiscCustomerRegistrationForm — Contains a customer registration form.

  • $Container_MiscDatesList — Contains a list of events.

  • $Container_MiscFAQsList — Contains a list of frequently asked questions.

  • $ContentPageTags2BlogTags

  • $ContentPageTags2ItemTags

  • $CouponCode — Contains display of the coupon code entered by the customer and e.g. can be used in the order confirmation.

  • $CrossSellingType — Returns the items of the specified cross-selling relationship. If no type is specified, similar items will be returned.

  • $Currency — Contains the currency that is currently set in the online store.

  • $CurrencySign — Contains the currency symbol that is currently set in the online store.

  • $CurrentBlogEntryTitle — Contains the name of the blog entry that is currently open.

  • $CurrentSingleItemName — Contains the name of the item that is currently open.

  • $CustomerClass — Contains the customer class.

  • $CustomerEmail — Contains the customer’s email address.

  • $CustomerFSK

  • $CustomerID — Contains the customer ID of the customer that is currently logged in.

  • $CustomerName — Contains the customer name.

  • $CustomerShippingCountry — Contains the customer’s country of delivery.

  • $Day — Contains the current day.

  • $Dir

  • $DisplayDocumentsCustomer — Contains documents for which the access right Customers was set in the CMS » Documents menu. Only visitors of the online store who are logged in can see these documents.

  • $DisplayDocumentsPublic — Contains documents for which the access right Public was set in the CMS » Documents menu.

  • $FACTFinderTagCloud — Contains a cloud of the most popular search terms that were entered in the FACTFinder store search.

  • $FacebookLoginButton — Contains the button for logging into the shopping cart using facebook login data. Must be used in combination with FacebookLoginScript.

  • $FacebookLoginScript — Contains a Java script that is necessary for logging into the shop using facebook login data.

  • $FacebookURL — Contains the URL that was saved for facebook in the Setup » Client » Select client » Services » Social Media menu.

  • $FamilienKarteLogin — Contains the HTML form for login for the Family card Hesse.

  • $FilterProducer — Contains a manufacturer filter.

  • $FilterProducerExist — Contains a query to check if a manufacturer filter was selected already.

  • $FilterProducerSize

  • $FormCloseBlank

  • $FormCloseBlogSearch — Closes a search form for the blog.

  • $FormCloseContentSearch — Closes a search form for the content area.

  • $FormCloseCoupon — Closes a coupon form.

  • $FormCloseItemQuickGuide — Closes a form for the item quick search.

  • $FormCloseSearch — Closes a search form.

  • $FormOpenBlank

  • $FormOpenBlogSearch — Opens a search form for the blog.

  • $FormOpenContentSearch — Contains a search form for the content area.

  • $FormOpenCoupon — Opens a coupon form.

  • $FormOpenItemQuickGuide — Opens a form for the item quick search.

  • $FormOpenSearch — Opens a search form.

  • $ForumGroup — Contains the forum group that the customer is assigned to. The group is displayed and set on customers' Customer data tab.

  • $FreeVar[1] …​$FreeVar[25] — Contains a list of the defined constants. The number of constants must be specified for a specific association to be displayed.

  • $GeneralTermsAndConditions — Contains the online store’s terms and conditions as saved in the Setup » Client » Select client » Online store » Legal information menu.

  • $GooglePlusURL — Contains the URL saved for Google+ in the Setup » Client » Select client » Services » Social Media menu.

  • $HTTP_HOST — Contains the server name.

  • $Headers[UserAgent] …​$Headers[UserAgent]

  • $Hour — Variable contains the current hour.

  • $InShopview — Queries if the online store visitor is viewing the online store itself (1) or not (0). Sections that are not part of the online store, e.g. are a blog or a forum.

  • $IsAdminLoggedIn

  • $IsCustomerLoggedIn

  • $IsFirstPageVisit

  • $IsSSL — Contains a query that checks if SSL is active or not.

  • $IsWelcomePage — Queries if the current page is the homepage (true) or not (false).

  • $ItemLinkCloud — Contains an item link cloud.

  • $ItemProducerFilter — Contains check marks to select one or more item manufacturers.

  • $ItemProducerFilterExists

  • $ItemProducerOption — Contains options to select one or more item manufacturers.

  • $ItemQuickGuide — Contains several selection fields for the item quick search.

  • $ItemQuickGuide_Standalone

  • $LandingPage — Contains the query if this is a user’s first visit to the online store.

  • $Lang — Contains the language currently set.

  • $LegalDisclosure — Contains the online store’s legal disclosure as saved in the Setup » Client » Select client » Online store » Legal information menu.

  • $Link_Parent — Returns a URL to the next higher-ranking category. The category ID must be specified.

  • $LiveShoppingEndTime — Contains the time the live shopping offer ends.

  • $LiveShoppingID — Contains the ID of the current live shopping offer.

  • $LiveShoppingPercentRemaining — Contains the percentage of items that are still available in the live shopping offer.

  • $LiveShoppingPercentSold — Contains the percentage of items already sold as part of the live shopping offer.

  • $LiveShoppingPrice — Contains the price of the current live shopping offer.

  • $LiveShoppingPriceOriginal — Contains the original price of the live shopping offer.

  • $LiveShoppingQuantityRemaining — Contains the number of items still available for the live shopping offer.

  • $LiveShoppingQuantitySold — Contains the number of items already sold as part of the live shopping offer.

  • $LiveShoppingStartTime — Contains the time the live shopping offer starts.

  • $LoopBreak[1] …​$LoopBreak[99] — Aborts the loop and jumps to the next loop.

  • $LoopContinue[1] …​$LoopContinue[99] — Skips one element and continues with the next element.

  • $LoopCount[1] …​$LoopCount[99]

  • $LoopIsFirst[1] …​$LoopIsFirst[99] — Specifies if the first element of a loop is currently iterated or not. The loop must be specified. If several loops are nested, the numbering is done from outside to inside.

  • $LoopIsLast[1] …​$LoopIsLast[99] — Specifies if the last element of a loop is currently iterated or not. The loop must be specified. If several loops are nested, the numbering is done from outside to inside.

  • $LoopPosition[1] …​$LoopPosition[99] — Specifies the current position of the iteration.

  • $LoopRevPosition[1] …​$LoopRevPosition[99] — Specifies how many elements are still to be iterated.

  • $Minute — Contains the current minute.

  • $Month — Contains the current month.

  • $PageDesign — Contains the result of a verification of the current PageDesign template, e.g. Content, Custom etc.

  • $PageTitle — Contains the tab title. This variable can be used globally in all templates.

  • $PageTitle4Tracking — Contains the tab title that is analysed by tracking services.

  • $ParamDbText1

  • $ParamDbText2

  • $PayPalAvailable — Contains the result of a verification that checks if PayPal is available.

  • $Port — Contains the port that is used to connect to the server. The port provides information such as if the connection is encrypted or unencrypted.

  • $PriceColumnDiscountPercentage — Contains the percentage value of the graduated price discount saved for the currently logged in customer’s customer class.

  • $PrivacyPolicy — Contains the online store’s privacy policy as saved in the Setup » Client » Select client » Online store » Legal information menu.

  • $ProducerImageList — Contains a list of the manufacturers as images.

  • $ProducerList — Contains a list of the manufacturers.

  • $ReferrerID — Contains the ID of the referrer.

  • $ReferrerName

  • $Request_MaxCatDeep_QuickGuide

  • $Request_OrderShow — Makes it possible to obtain or return individual steps of the order process. The names of the sections must be specified.

  • $Request_QuotedSearchString — Contains the URL-conform variation of a search term.

  • $Request_SearchInDescription — Contains a search term that is searched for within the item description.

  • $Request_SearchPriceRangeStart

  • $Request_SearchPriceRangeStop

  • $Request_SearchProducer

  • $Request_SearchString

  • $Request_ToShow — Contains the name of a section of the online store.

  • $Robots — Contains the search engine tag robots. The tag is specified in the Items » Categories menu in the Settings tab of a category.

  • $SCRIPT_URL — Contains the dynamic part of the URL.

  • $ShowNetPrices

  • $SocialMedia — Contains the URLs that were saved for social media in the Setup » Client » Select client » Services » Social Media menu. However, these are only returned if social media are activated.

  • $StoreCountryID

  • $TrustedShopsId — Contains the Trusted Shops ID.

  • $TrustedShopsRating — Contains the result of the reviews submitted to Trusted Shops.

  • $TrustedShopsRatingAmount — Contains the number of reviews submitted to Trusted Shops.

  • $TrustedShopsRatingEmailButton — Contains the button for submitting a Trusted Shops review. This button can be inserted into emails.

  • $TrustedShopsRatingResult — Contains a list of the reviews submitted to Trusted Shops.

  • $TrustedShopsRatingShopButton — Contains the button for submitting a Trusted Shops review. This button can be inserted into the layout.

  • $TrustedShopsSeal — Contains the Trusted Shops Trustbadge.

  • $TrustedShopsURL — Contains the URL for Trusted Shops. This URL is generated based on the Trusted Shops ID and is provided by Trusted Shops.

  • $TwitterURL — Contains the URL that was saved for Twitter in the Setup » Client » Select client » Services » Social Media menu.

  • $Visitor[OS] …​$Visitor[AgentUncut] — Contains a list of information on the software the visitor uses. There are 3 indices: OS = operating system, Version = version of operating system, Agent = browser.

  • $WebstoreId — Contains the ID of the current client (store).

  • $WebstoreName — Contains the name saved under Name in the Setup » Client » Select client » Settings menu.

  • $WithdrawalForm

  • $Year — Contains the current year.

To top