PayNow

Variables

Template Files

File NameDescription
index.htmlThe main landing page of your webstore
category.htmlDisplays categories, manages navigation, and product filters
product.htmlDisplays detailed information for a specific product
cart.htmlShows the customer's current shopping cart
complete.htmlConfirms a successful purchase
subscriptions.htmlLists all active and canceled customer subscriptions

Global Variables

Common Across All Pages

Variable NameDescription
storeThe currently active store
webstoreInformation about the active hosted webstore
cartThe current customer's cart (NULL if not logged in)
navlinksAll enabled navigation links
tagsAll enabled tags in the store
customerThe logged-in customer (NULL if not logged in)
requestInformation about the current HTTP request
notificationActive customer notification, if any
currencyPreferred customer currency (defaults to store.currency if NULL)
available_currenciesAvailable currencies for currency conversion previews
modulesPre-rendered HTML for all active modules
faviconURL of the favicon image for the webstore

Page-Specific Variables

index.html

Variable NameDescription
productsAn array of all available products

category.html

Variable NameDescription
productsProducts matching the active tag/category
activeTagCurrently active filtering tag
activeTagsArray of active filtering tags
activeNavlinkDetailed object for the active navigation link

product.html

Variable NameDescription
productDetails of the selected product
available_gameserversOptional list of gameserver selections

complete.html

Variable NameDescription
completeInformation about the completed order

subscriptions.html

Variable NameDescription
subscriptionsList of the customer’s subscriptions

Object Definitions

Available Game Server Object

FieldDescription
idUnique server identifier
nameDisplay name of server

Webstore Object

FieldDescription
idUnique webstore ID
slugFriendly URL slug
is_activeWebstore active status
custom_domainCustom domain, if set
custom_domain_verifiedDomain verification status
current_template_idActive template ID
custom_templatesAny associated custom templates

Checkout Complete Object

FieldDescription
textCompletion message or status text

Notification Object

FieldDescription
messageNotification message content
typeType of notification (e.g., error, etc.)

Request Details Object

FieldDescription
urlFull current URL
pathURL path component
queryQuery parameters from the URL
countryIP-based country code
countryNameHuman-readable country name
regionGeographical region of the user
cityCity of origin
isEUCountryBoolean indicating if the request is from the EU

For further details on template syntax and filters, refer to the official Twig documentation.