Skillnad mellan versioner av "Templating:Variables"

Från Vendre Help
Hoppa till: navigering, sök
(Product list (categories_listing.html): Document new variable for used tags.)
(Link some types)
Rad 19: Rad 19:
 
|-
 
|-
 
|page
 
|page
|integer
+
|[[#integer|integer]]
 
|The current page.
 
|The current page.
 
|-
 
|-
 
|prev
 
|prev
|integer
+
|[[#integer|integer]]
 
|The previous page.
 
|The previous page.
 
|-
 
|-
 
|next
 
|next
|integer
+
|[[#integer|integer]]
 
|The next page.
 
|The next page.
 
|-
 
|-
 
|pages
 
|pages
|list of integers
+
|[[#list|list]] of [[#integers|integer]]s
 
|The pages in the current set.
 
|The pages in the current set.
 
|-
 
|-
 
|set_prev
 
|set_prev
|integer
+
|[[#integer|integer]]
 
|The last page in the previous set of pages.
 
|The last page in the previous set of pages.
 
|-
 
|-
 
|set_next
 
|set_next
|integer
+
|[[#integer|integer]]
 
|The first page in the next set of pages.
 
|The first page in the next set of pages.
 
|-
 
|-
 
|from_row
 
|from_row
|integer
+
|[[#integer|integer]]
 
|The first row displayed.
 
|The first row displayed.
 
|-
 
|-
 
|to_row
 
|to_row
|integer
+
|[[#integer|integer]]
 
|The last row displayed.
 
|The last row displayed.
 
|-
 
|-
 
|row_count
 
|row_count
|integer
+
|[[#integer|integer]]
 
|The number of rows paginated.
 
|The number of rows paginated.
 
|}
 
|}
Rad 62: Rad 62:
 
|-
 
|-
 
|id
 
|id
|string
+
|[[#string|string]]
 
|Products internal ID
 
|Products internal ID
 
|-
 
|-
 
|delivery_time
 
|delivery_time
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|description
 
|description
|HTML
+
|[[#HTML|HTML]]
 
|
 
|
 
|-
 
|-
 
|description_short
 
|description_short
|HTML
+
|[[#HTML|HTML]]
 
|
 
|
 
|-
 
|-
 
|href_buy
 
|href_buy
|URL
+
|[[#URL|URL]]
 
|
 
|
 
|-
 
|-
 
|href
 
|href
|URL
+
|[[#URL|URL]]
 
|
 
|
 
|-
 
|-
 
|image
 
|image
|URL
+
|[[#URL|URL]]
 
|
 
|
 
|-
 
|-
 
|manufacturer_image
 
|manufacturer_image
|URL
+
|[[#URL|URL]]
 
|
 
|
 
|-
 
|-
 
|manufacturer_name
 
|manufacturer_name
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|model
 
|model
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|price_discount_percentage
 
|price_discount_percentage
|HTML
+
|[[#HTML|HTML]]
 
|
 
|
 
|-
 
|-
 
|price
 
|price
|HTML
+
|[[#HTML|HTML]]
 
|
 
|
 
|-
 
|-
 
|price_recommended
 
|price_recommended
|HTML
+
|[[#HTML|HTML]]
 
|
 
|
 
|-
 
|-
 
|price_special
 
|price_special
|HTML
+
|[[#HTML|HTML]]
 
|
 
|
 
|-
 
|-
 
|quantity
 
|quantity
|integer
+
|[[#integer|integer]]
 
|
 
|
 
|-
 
|-
 
|seo_link
 
|seo_link
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|tax
 
|tax
|decimal
+
|[[#decimal|decimal]]
 
|Product tax rate.
 
|Product tax rate.
 
|-
 
|-
 
|tax_class_id
 
|tax_class_id
|integer
+
|[[#integer|integer]]
 
|
 
|
 
|-
 
|-
 
|parent_id
 
|parent_id
|integer
+
|[[#integer|integer]]
 
|The products parent
 
|The products parent
 
|-
 
|-
 
|child_count
 
|child_count
|integer
+
|[[#integer|integer]]
 
|Counts amount of child products
 
|Counts amount of child products
 
|-
 
|-
 
|rating
 
|rating
|decimal
+
|[[#decimal|decimal]]
 
|Average review rating in increments of 0.5.
 
|Average review rating in increments of 0.5.
 
|-
 
|-
 
|price_per_unit
 
|price_per_unit
|decimal
+
|[[#decimal|decimal]]
 
|Product price per unit
 
|Product price per unit
 
|-
 
|-
 
|unit
 
|unit
|string
+
|[[#string|string]]
 
|Product unit. ex. st/cm/m
 
|Product unit. ex. st/cm/m
 
|-
 
|-
 
|price_per_unit_recommended
 
|price_per_unit_recommended
|decimal
+
|[[#decimal|decimal]]
 
|Recommended price in unit
 
|Recommended price in unit
 
|-
 
|-
 
|price_per_unit_special
 
|price_per_unit_special
|decimal
+
|[[#decimal|decimal]]
 
|Special price in unit
 
|Special price in unit
 
|-
 
|-
 
|price_klarna_account
 
|price_klarna_account
|decimal
+
|[[#decimal|decimal]]
 
|Klarna account price
 
|Klarna account price
 
|-
 
|-
 
|tags
 
|tags
|list of tags
+
|[[#list|list]] of [[#tag|tags]]
 
|
 
|
 
|}
 
|}
Rad 178: Rad 178:
 
! Key !! Type !! Description
 
! Key !! Type !! Description
 
|-
 
|-
| id              || integer      || ID.
+
| id              || [[#integer|integer]]     || ID.
 
|-
 
|-
| parent_id        || integer      || Parent ID, 0 when there is no parent tag.
+
| parent_id        || [[#integer|integer]]     || Parent ID, 0 when there is no parent tag.
 
|-
 
|-
| name            || string      || Name.
+
| name            || [[#string|string]]       || Name.
 
|-
 
|-
| description      || HTML        || Description.
+
| description      || [[#HTML|HTML]]         || Description.
 
|-
 
|-
| image            || URL          || Image URL.
+
| image            || [[#URL|URL]]         || Image URL.
 
|-
 
|-
| meta_title      || HTML        || Meta title.
+
| meta_title      || [[#HTML|HTML]]         || Meta title.
 
|-
 
|-
| meta_keywords    || HTML        || Meta keywords.
+
| meta_keywords    || [[#HTML|HTML]]         || Meta keywords.
 
|-
 
|-
| meta_description || HTML        || Meta description.
+
| meta_description || [[#HTML|HTML]]         || Meta description.
 
|-
 
|-
| children        || list of tags || Child tags.
+
| children        || [[#list|list]] of [[#tag|tags]] || Child tags.
 
|-
 
|-
| used            || boolean      || Indicates if the tag is used by any product in a category listing.
+
| used            || [[#boolean|boolean]]     || Indicates if the tag is used by any product in a category listing.
 
|}
 
|}
  
Rad 208: Rad 208:
 
|-
 
|-
 
|template
 
|template
|string
+
|[[#string|string]]
 
|Path to active template directory
 
|Path to active template directory
 
|N/A
 
|N/A
 
|-
 
|-
 
|current_page
 
|current_page
|string
+
|[[#string|string]]
 
|Contains URL after domain name and before ''?'', for example ''storedomain.com/p/digital-fotoram/nextbase-photomil-8wi-fi-fotoram.html?vat_disp=0'' returns ''/p/digital-fotoram/nextbase-photomil-8wi-fi-fotoram.html''
 
|Contains URL after domain name and before ''?'', for example ''storedomain.com/p/digital-fotoram/nextbase-photomil-8wi-fi-fotoram.html?vat_disp=0'' returns ''/p/digital-fotoram/nextbase-photomil-8wi-fi-fotoram.html''
 
|N/A
 
|N/A
 
|-
 
|-
 
|current_script
 
|current_script
|string
+
|[[#string|string]]
 
|Contains filename of current page
 
|Contains filename of current page
 
|index.php
 
|index.php
 
|-
 
|-
 
|request
 
|request
|dictionary
+
|[[#dictionary|dictionary]]
|A dictionary of recieved ''GET'' and ''POST'' data
+
|A [[#dictionary|dictionary]] of recieved ''GET'' and ''POST'' data
 
|
 
|
 
{| class="wikitable"
 
{| class="wikitable"
Rad 232: Rad 232:
 
|-
 
|-
 
|get
 
|get
|dictionary
+
|[[#dictionary|dictionary]]
 
|Data received from the ''GET'' query string
 
|Data received from the ''GET'' query string
 
|-
 
|-
 
|post
 
|post
|dictionary
+
|[[#dictionary|dictionary]]
 
|Received ''POST'' data
 
|Received ''POST'' data
 
|}
 
|}
 
|-
 
|-
 
|current_customer_id
 
|current_customer_id
|integer
+
|[[#integer|integer]]
 
|Returns customer ID if customer is logged in, else None
 
|Returns customer ID if customer is logged in, else None
 
|N/A
 
|N/A
 
|-
 
|-
 
|customer
 
|customer
|dictionary
+
|[[#dictionary|dictionary]]
 
|Contains information about the logged in customer, or null.
 
|Contains information about the logged in customer, or null.
 
|
 
|
Rad 255: Rad 255:
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|
 
|
 
|-
 
|-
 
|email
 
|email
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|personnummer
 
|personnummer
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|first_name
 
|first_name
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|last_name
 
|last_name
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|company
 
|company
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|telephone
 
|telephone
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|mobile
 
|mobile
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|country_id
 
|country_id
|integer
+
|[[#integer|integer]]
 
|
 
|
 
|-
 
|-
 
|postcode
 
|postcode
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|street_address
 
|street_address
|string
+
|[[#string|string]]
 
|
 
|
 
|}
 
|}
 
|-
 
|-
 
|meta
 
|meta
|dictionary
+
|[[#dictionary|dictionary]]
 
|Header meta information for current page.
 
|Header meta information for current page.
 
|
 
|
Rad 309: Rad 309:
 
|-
 
|-
 
|title
 
|title
|HTML
+
|[[#HTML|HTML]]
 
|Page title.
 
|Page title.
 
|-
 
|-
 
|keywords
 
|keywords
|string
+
|[[#string|string]]
 
|Page meta keywords.
 
|Page meta keywords.
 
|-
 
|-
 
|description
 
|description
|HTML
+
|[[#HTML|HTML]]
 
|Page meta description.
 
|Page meta description.
 
|-
 
|-
 
|language
 
|language
|string
+
|[[#string|string]]
 
|Page language code.
 
|Page language code.
 
|-
 
|-
 
|generator
 
|generator
|string
+
|[[#string|string]]
 
|Startabutik E-handel.
 
|Startabutik E-handel.
 
|-
 
|-
 
|canonical
 
|canonical
|URL
+
|[[#URL|URL]]
 
|Canonical URL for current page.  Not always available.
 
|Canonical URL for current page.  Not always available.
 
|}
 
|}
 
|-
 
|-
 
|settings
 
|settings
|dictionary
+
|[[#dictionary|dictionary]]
 
|Contains some of the settings defined in the administration
 
|Contains some of the settings defined in the administration
 
|
 
|
Rad 343: Rad 343:
 
|-
 
|-
 
|ACCOUNT_COMPANY, ACCOUNT_DOB, ACCOUNT_GENDER, ACCOUNT_PERSONNUMMER, ACCOUNT_STATE, ACCOUNT_SUBURB
 
|ACCOUNT_COMPANY, ACCOUNT_DOB, ACCOUNT_GENDER, ACCOUNT_PERSONNUMMER, ACCOUNT_STATE, ACCOUNT_SUBURB
|boolean
+
|[[#boolean|boolean]]
 
|Account fields can be enabled and disabled
 
|Account fields can be enabled and disabled
 
|-
 
|-
 
|API_ID_FACEBOOK
 
|API_ID_FACEBOOK
|string
+
|[[#string|string]]
 
|General APP id for Facebook
 
|General APP id for Facebook
 
|-
 
|-
 
|API_ID_GOOGLE_VERIFICATION
 
|API_ID_GOOGLE_VERIFICATION
|string
+
|[[#string|string]]
 
|Google verification
 
|Google verification
 
|-
 
|-
 
|CHARSET
 
|CHARSET
|string
+
|[[#string|string]]
 
|Charset of page.
 
|Charset of page.
 
|-
 
|-
 
|CREATE_ACCOUNT_LAYOUT
 
|CREATE_ACCOUNT_LAYOUT
|integer
+
|[[#integer|integer]]
 
|''Internal''
 
|''Internal''
 
|-
 
|-
 
|DOWNLOAD_ENABLED
 
|DOWNLOAD_ENABLED
|boolean
+
|[[#boolean|boolean]]
 
|Is the download module enabled
 
|Is the download module enabled
 
|-
 
|-
 
|ENTRY_CITY_MIN_LENGTH, ENTRY_DOB_MIN_LENGTH, ENTRY_EMAIL_ADDRESS_MIN_LENGTH, ENTRY_FIRST_NAME_MIN_LENGTH, ENTRY_LAST_NAME_MIN_LENGTH, ENTRY_PASSWORD_MIN_LENGTH, ENTRY_POSTCODE_MIN_LENGTH, ENTRY_STATE_MIN_LENGTH, ENTRY_STREET_ADDRESS_MIN_LENGTH, ENTRY_TELEPHONE_MIN_LENGTH
 
|ENTRY_CITY_MIN_LENGTH, ENTRY_DOB_MIN_LENGTH, ENTRY_EMAIL_ADDRESS_MIN_LENGTH, ENTRY_FIRST_NAME_MIN_LENGTH, ENTRY_LAST_NAME_MIN_LENGTH, ENTRY_PASSWORD_MIN_LENGTH, ENTRY_POSTCODE_MIN_LENGTH, ENTRY_STATE_MIN_LENGTH, ENTRY_STREET_ADDRESS_MIN_LENGTH, ENTRY_TELEPHONE_MIN_LENGTH
|integer
+
|[[#integer|integer]]
 
|Used in form validation
 
|Used in form validation
 
|-
 
|-
 
|ENTRY_PASSWORD_IN_REGISTRATION
 
|ENTRY_PASSWORD_IN_REGISTRATION
|boolean
+
|[[#boolean|boolean]]
 
|Is the user allowed to specify a password when registering
 
|Is the user allowed to specify a password when registering
 
|-
 
|-
 
|FORMS_USE_CAPTCHA
 
|FORMS_USE_CAPTCHA
|boolean
+
|[[#boolean|boolean]]
 
|Is captcha used for forms
 
|Is captcha used for forms
 
|-
 
|-
 
|FACEBOOK_PROFILE_URL
 
|FACEBOOK_PROFILE_URL
|string
+
|[[#string|string]]
 
|URL in format http://url.se/subfolder/
 
|URL in format http://url.se/subfolder/
 
|-
 
|-
 
|GOOGLEPLUS_PROFILE_URL
 
|GOOGLEPLUS_PROFILE_URL
|string
+
|[[#string|string]]
 
|URL in format http://url.se/subfolder/
 
|URL in format http://url.se/subfolder/
 
|-
 
|-
 
|HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT
 
|HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT
|integer
+
|[[#integer|integer]]
 
|Width and height of heading images
 
|Width and height of heading images
 
|-
 
|-
 
|MAX_ADDRESS_BOOK_ENTRIES
 
|MAX_ADDRESS_BOOK_ENTRIES
|integer
+
|[[#integer|integer]]
 
|Maximum entries in the address book
 
|Maximum entries in the address book
 
|-
 
|-
 
|PREV_NEXT_BAR_LOCATION
 
|PREV_NEXT_BAR_LOCATION
|integer
+
|[[#integer|integer]]
 
|''Internal''
 
|''Internal''
 
|-
 
|-
 
|SMALL_IMAGE_WIDTH
 
|SMALL_IMAGE_WIDTH
|integer
+
|[[#integer|integer]]
 
|Width of small thumbnails in pixels
 
|Width of small thumbnails in pixels
 
|-
 
|-
 
|SMALL_IMAGE_HEIGHT
 
|SMALL_IMAGE_HEIGHT
|integer
+
|[[#integer|integer]]
 
|Height of small thumbnails in pixels
 
|Height of small thumbnails in pixels
 
|-
 
|-
 
|STATISTICS_GOOGLE_ANALYTICS
 
|STATISTICS_GOOGLE_ANALYTICS
|string
+
|[[#string|string]]
 
|Google analytics tracking code, if specified
 
|Google analytics tracking code, if specified
 
|-
 
|-
 
|SHOP_HEADER_TEXT
 
|SHOP_HEADER_TEXT
|string
+
|[[#string|string]]
 
|Alt text for logo
 
|Alt text for logo
 
|-
 
|-
 
|SHOP_LOGO
 
|SHOP_LOGO
|string
+
|[[#string|string]]
 
|Shop logo in /images/
 
|Shop logo in /images/
 
|-
 
|-
 
|STORE_NAME
 
|STORE_NAME
|string
+
|[[#string|string]]
 
|
 
|
 
|-
 
|-
 
|PRODUCT_PAGE_DESIGN
 
|PRODUCT_PAGE_DESIGN
|integer
+
|[[#integer|integer]]
 
|''Internal''
 
|''Internal''
 
|-
 
|-
 
|YOUTUBE_PROFILE_URL
 
|YOUTUBE_PROFILE_URL
|string
+
|[[#string|string]]
 
|URL in format http://url.se/subfolder/
 
|URL in format http://url.se/subfolder/
 
|-
 
|-
 
|TWITTER_PROFILE_URL
 
|TWITTER_PROFILE_URL
|string
+
|[[#string|string]]
 
|URL in format http://url.se/subfolder/
 
|URL in format http://url.se/subfolder/
 
|}
 
|}
 
|-
 
|-
 
|shoppingcart_amount
 
|shoppingcart_amount
|string
+
|[[#string|string]]
 
|Amount of products in shopping cart
 
|Amount of products in shopping cart
 
|N/A
 
|N/A
 
|-
 
|-
 
|shoppingcart_total
 
|shoppingcart_total
|string
+
|[[#string|string]]
 
|Total sum of the content in shopping cart
 
|Total sum of the content in shopping cart
 
|N/A
 
|N/A
 
|-
 
|-
 
|random_box_left
 
|random_box_left
|string
+
|[[#string|string]]
 
|Shows boxes at the left side of the store
 
|Shows boxes at the left side of the store
 
|N/A
 
|N/A
 
|-
 
|-
 
|random_box_right
 
|random_box_right
|string
+
|[[#string|string]]
 
|Shows boxes at the right side of the store
 
|Shows boxes at the right side of the store
 
|N/A
 
|N/A
Rad 466: Rad 466:
 
|-
 
|-
 
|boxes.categories.tree
 
|boxes.categories.tree
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Contains a tree of displayed categories in menu
 
|Contains a tree of displayed categories in menu
 
|
 
|
Rad 475: Rad 475:
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|Id of category
 
|Id of category
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Name of category in current language
 
|Name of category in current language
 
|-
 
|-
 
|image
 
|image
|string
+
|[[#string|string]]
 
|Path to category image if such exists
 
|Path to category image if such exists
 
|-
 
|-
 
|href
 
|href
|string
+
|[[#string|string]]
 
|Link to category's product listing page
 
|Link to category's product listing page
 
|-
 
|-
 
|child_count
 
|child_count
|integer
+
|[[#integer|integer]]
 
|Number of open child categories
 
|Number of open child categories
 
|-
 
|-
 
|children
 
|children
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|List of visible child categories. See boxes.categories.tree for format
 
|List of visible child categories. See boxes.categories.tree for format
 
|-
 
|-
 
|open
 
|open
|boolean
+
|[[#boolean|boolean]]
 
|Returns true if the category (or one of its children) is the currently selected one
 
|Returns true if the category (or one of its children) is the currently selected one
 
|-
 
|-
 
|selected
 
|selected
|boolean
+
|[[#boolean|boolean]]
 
|Returns true if the category is the currently selected one
 
|Returns true if the category is the currently selected one
 
|}
 
|}
Rad 516: Rad 516:
 
|-
 
|-
 
|boxes.categories_full.tree
 
|boxes.categories_full.tree
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Contains a full tree of all available categories in menu
 
|Contains a full tree of all available categories in menu
 
|
 
|
Rad 525: Rad 525:
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|Id of category
 
|Id of category
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Name of category in current language
 
|Name of category in current language
 
|-
 
|-
 
|image
 
|image
|string
+
|[[#string|string]]
 
|Path to category image if such exists
 
|Path to category image if such exists
 
|-
 
|-
 
|href
 
|href
|string
+
|[[#string|string]]
 
|Link to category's product listing page
 
|Link to category's product listing page
 
|-
 
|-
 
|child_count
 
|child_count
|integer
+
|[[#integer|integer]]
 
|Number of open child categories
 
|Number of open child categories
 
|-
 
|-
 
|children
 
|children
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|List of visible child categories. See boxes.categories.tree for format
 
|List of visible child categories. See boxes.categories.tree for format
 
|-
 
|-
 
|open
 
|open
|boolean
+
|[[#boolean|boolean]]
 
|Returns true if the category (or one of its children) is the currently selected one
 
|Returns true if the category (or one of its children) is the currently selected one
 
|-
 
|-
 
|selected
 
|selected
|boolean
+
|[[#boolean|boolean]]
 
|Returns true if the category is the currently selected one
 
|Returns true if the category is the currently selected one
 
|}
 
|}
Rad 566: Rad 566:
 
|-
 
|-
 
|boxes.manufacturers.list
 
|boxes.manufacturers.list
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Lists all available manufacturers
 
|Lists all available manufacturers
 
|
 
|
Rad 575: Rad 575:
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|Manufacturer ID.
 
|Manufacturer ID.
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Name of manufacturer
 
|Name of manufacturer
 
|-
 
|-
 
|href
 
|href
|string
+
|[[#string|string]]
 
|Link to manufacturer page
 
|Link to manufacturer page
 
|-
 
|-
 
|selected
 
|selected
|boolean
+
|[[#boolean|boolean]]
 
|True if the manufacturer_id GET variable is equal to the ID of this manufacturer.
 
|True if the manufacturer_id GET variable is equal to the ID of this manufacturer.
 
|}
 
|}
Rad 600: Rad 600:
 
|-
 
|-
 
|boxes.search.advanced_href
 
|boxes.search.advanced_href
|string
+
|[[#string|string]]
 
|URL to advanced search page
 
|URL to advanced search page
 
|N/A
 
|N/A
 
|-
 
|-
 
|boxes.search.advanced_result_href
 
|boxes.search.advanced_result_href
|string
+
|[[#string|string]]
 
|Action URL for search form
 
|Action URL for search form
 
|N/A
 
|N/A
Rad 617: Rad 617:
 
|-
 
|-
 
|boxes.information_pages.list
 
|boxes.information_pages.list
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Lists all active information pages
 
|Lists all active information pages
 
|
 
|
Rad 626: Rad 626:
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Name of information page
 
|Name of information page
 
|-
 
|-
 
|href
 
|href
|string
+
|[[#string|string]]
 
|Link to information page
 
|Link to information page
 
|-
 
|-
 
|active
 
|active
|boolean
+
|[[#boolean|boolean]]
 
|Is user currently on this page?
 
|Is user currently on this page?
 
|-
 
|-
 
|target
 
|target
|boolean
+
|[[#boolean|boolean]]
 
|True if information page expects the attribute target="_blank"
 
|True if information page expects the attribute target="_blank"
 
|}
 
|}
Rad 650: Rad 650:
 
|-
 
|-
 
|boxes.languages.list
 
|boxes.languages.list
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Lists all languages
 
|Lists all languages
 
|
 
|
Rad 659: Rad 659:
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Language name
 
|Language name
 
|-
 
|-
 
|href
 
|href
|string
+
|[[#string|string]]
 
|Link to page that sets language to this one
 
|Link to page that sets language to this one
 
|-
 
|-
 
|image
 
|image
|string
+
|[[#string|string]]
 
|Image (flag) for language if available
 
|Image (flag) for language if available
 
|}
 
|}
Rad 679: Rad 679:
 
|-
 
|-
 
|boxes.login.form_href
 
|boxes.login.form_href
|string
+
|[[#string|string]]
 
|Action link for login form
 
|Action link for login form
 
|N/A
 
|N/A
 
|-
 
|-
 
|boxes.login.password_forgotten_href
 
|boxes.login.password_forgotten_href
|string
+
|[[#string|string]]
 
|Link to retrieve forgotten password page
 
|Link to retrieve forgotten password page
 
|N/A
 
|N/A
 
|-
 
|-
 
|boxes.login.account_history_href
 
|boxes.login.account_history_href
|string
+
|[[#string|string]]
 
|Link to current customer's account history page. Contains orders and such
 
|Link to current customer's account history page. Contains orders and such
 
|N/A
 
|N/A
 
|-
 
|-
 
|boxes.login.account_href
 
|boxes.login.account_href
|string
+
|[[#string|string]]
 
|Link to current customer's account page
 
|Link to current customer's account page
 
|N/A
 
|N/A
 
|-
 
|-
 
|boxes.login.account_password_href
 
|boxes.login.account_password_href
|string
+
|[[#string|string]]
 
|''Unknown''
 
|''Unknown''
 
|N/A
 
|N/A
 
|-
 
|-
 
|boxes.login.logoff_href
 
|boxes.login.logoff_href
|string
+
|[[#string|string]]
 
|Link to log off current customer
 
|Link to log off current customer
 
|N/A
 
|N/A
 
|-
 
|-
 
|boxes.login.customer_first_name
 
|boxes.login.customer_first_name
|string
+
|[[#string|string]]
 
|Current customer's first name
 
|Current customer's first name
 
|N/A
 
|N/A
 
|-
 
|-
 
|boxes.login.customer_last_name
 
|boxes.login.customer_last_name
|string
+
|[[#string|string]]
 
|Current customer's last name
 
|Current customer's last name
 
|N/A
 
|N/A
Rad 726: Rad 726:
 
|-
 
|-
 
|boxes.products_new.list
 
|boxes.products_new.list
|list of [[#product|product]]
+
|[[#list|list]] of [[#product|product]]
 
|The most recently added products, the most recent first.
 
|The most recently added products, the most recent first.
 
|}
 
|}
Rad 737: Rad 737:
 
|-
 
|-
 
|boxes.news.list
 
|boxes.news.list
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Lists recent news. Limit set in administration
 
|Lists recent news. Limit set in administration
 
|
 
|
Rad 746: Rad 746:
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|News name
 
|News name
 
|-
 
|-
 
|href
 
|href
|string
+
|[[#string|string]]
 
|Link to news page
 
|Link to news page
 
|-
 
|-
 
|summary
 
|summary
|string
+
|[[#string|string]]
 
|News summary
 
|News summary
 
|}
 
|}
Rad 766: Rad 766:
 
|-
 
|-
 
|boxes.reviews.write_review_href
 
|boxes.reviews.write_review_href
|string
+
|[[#string|string]]
 
|Link to write review page. Only set if customer is viewing a product page
 
|Link to write review page. Only set if customer is viewing a product page
 
|N/A
 
|N/A
 
|-
 
|-
 
|boxes.reviews.product
 
|boxes.reviews.product
|dictionary
+
|[[#dictionary|dictionary]]
 
|Product and review data
 
|Product and review data
 
|
 
|
Rad 780: Rad 780:
 
|-
 
|-
 
|product_name
 
|product_name
|string
+
|[[#string|string]]
 
|Name of product
 
|Name of product
 
|-
 
|-
 
|product_image
 
|product_image
|string
+
|[[#string|string]]
 
|Link to product image
 
|Link to product image
 
|-
 
|-
 
|review_href
 
|review_href
|string
+
|[[#string|string]]
 
|Link to full review
 
|Link to full review
 
|-
 
|-
 
|review_rating
 
|review_rating
|string
+
|[[#string|string]]
 
|Rating
 
|Rating
 
|-
 
|-
 
|review_text
 
|review_text
|string
+
|[[#string|string]]
 
|Text of review
 
|Text of review
 
|}
 
|}
Rad 808: Rad 808:
 
|-
 
|-
 
|boxes.shopping_cart.list
 
|boxes.shopping_cart.list
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|List of products in shopping cart
 
|List of products in shopping cart
 
|
 
|
Rad 817: Rad 817:
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|ID of product
 
|ID of product
 
|-
 
|-
 
|model
 
|model
|string
+
|[[#string|string]]
 
|Model number for product
 
|Model number for product
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Name of product
 
|Name of product
 
|-
 
|-
 
|image
 
|image
|string
+
|[[#string|string]]
 
|Link to image of product
 
|Link to image of product
 
|-
 
|-
 
|quantity
 
|quantity
|string
+
|[[#string|string]]
 
|Number of this product in shopping cart
 
|Number of this product in shopping cart
 
|-
 
|-
 
|price
 
|price
|string
+
|[[#string|string]]
 
|Price per product before discounts represented as a string with currency symbol
 
|Price per product before discounts represented as a string with currency symbol
 
|-
 
|-
 
|final_price
 
|final_price
|string
+
|[[#string|string]]
 
|Price per product after discounts represented as a string with currency symbol
 
|Price per product after discounts represented as a string with currency symbol
 
|-
 
|-
 
|total_price
 
|total_price
|string
+
|[[#string|string]]
 
|Total price for all products of this kind before discounts represented as a string with currency symbol
 
|Total price for all products of this kind before discounts represented as a string with currency symbol
 
|-
 
|-
 
|total_final_price
 
|total_final_price
|string
+
|[[#string|string]]
 
|Total price for all products of this kind after discounts represented as a string with currency symbol
 
|Total price for all products of this kind after discounts represented as a string with currency symbol
 
|-
 
|-
 
|href
 
|href
|string
+
|[[#string|string]]
 
|Link to product's page
 
|Link to product's page
 
|-
 
|-
 
|new
 
|new
|boolean
+
|[[#boolean|boolean]]
 
|''True'' if product was just added to the shopping cart
 
|''True'' if product was just added to the shopping cart
 
|}
 
|}
 
|-
 
|-
 
|boxes.shopping_cart.total
 
|boxes.shopping_cart.total
|string
+
|[[#string|string]]
 
|Total value of contents of shopping cart represented as a string with currency symbol
 
|Total value of contents of shopping cart represented as a string with currency symbol
 
|N/A
 
|N/A
Rad 876: Rad 876:
 
|-
 
|-
 
|boxes.special_offers.product
 
|boxes.special_offers.product
|dictionary
+
|[[#dictionary|dictionary]]
 
|''True'' if prices are displayed including VAT, else ''false''.
 
|''True'' if prices are displayed including VAT, else ''false''.
 
|
 
|
Rad 885: Rad 885:
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Name of product
 
|Name of product
 
|-
 
|-
 
|href
 
|href
|string
+
|[[#string|string]]
 
|Link to product page
 
|Link to product page
 
|-
 
|-
 
|image
 
|image
|string
+
|[[#string|string]]
 
|Link to product image
 
|Link to product image
 
|-
 
|-
 
|price
 
|price
|string
+
|[[#string|string]]
 
|Product standard price represented with currency symbol
 
|Product standard price represented with currency symbol
 
|-
 
|-
 
|special_price
 
|special_price
|string
+
|[[#string|string]]
 
|Product price after discounts represented with currency symbol
 
|Product price after discounts represented with currency symbol
 
|}
 
|}
Rad 913: Rad 913:
 
|-
 
|-
 
|boxes.vat_select.display_with_vat
 
|boxes.vat_select.display_with_vat
|boolean
+
|[[#boolean|boolean]]
 
|''True'' if prices are displayed including VAT, else ''false''.
 
|''True'' if prices are displayed including VAT, else ''false''.
 
|N/A
 
|N/A
 
|-
 
|-
 
|boxes.vat_select.with_href
 
|boxes.vat_select.with_href
|string
+
|[[#string|string]]
 
|URL to page where VAT display is set to ''true''.
 
|URL to page where VAT display is set to ''true''.
 
|N/A
 
|N/A
 
|-
 
|-
 
|boxes.vat_select.without_href
 
|boxes.vat_select.without_href
|string
+
|[[#string|string]]
 
|URL to page where VAT display is set to ''false''.
 
|URL to page where VAT display is set to ''false''.
 
|N/A
 
|N/A
Rad 935: Rad 935:
 
|-
 
|-
 
|boxes.custom.boxes
 
|boxes.custom.boxes
|dictionary of lists
+
|[[#dictionary|dictionary]] of lists
 
|Dictionary of boxes, indexed by the box name.
 
|Dictionary of boxes, indexed by the box name.
 
|
 
|
Rad 944: Rad 944:
 
|-
 
|-
 
|type
 
|type
|integer
+
|[[#integer|integer]]
 
|Type of box.
 
|Type of box.
 
|-
 
|-
 
|class
 
|class
|string
+
|[[#string|string]]
 
|CSS classes
 
|CSS classes
 
|}
 
|}
Rad 958: Rad 958:
 
|-
 
|-
 
|title
 
|title
|string
+
|[[#string|string]]
 
|Box title.
 
|Box title.
 
|-
 
|-
Rad 972: Rad 972:
 
|-
 
|-
 
|text
 
|text
|HTML
+
|[[#HTML|HTML]]
 
|Box contents.
 
|Box contents.
 
|}
 
|}
Rad 982: Rad 982:
 
|-
 
|-
 
|image
 
|image
|URL
+
|[[#URL|URL]]
 
|Box image.
 
|Box image.
 
|}
 
|}
Rad 997: Rad 997:
 
|-
 
|-
 
|modules.product_parent.name
 
|modules.product_parent.name
|string
+
|[[#string|string]]
 
|Parent product name.
 
|Parent product name.
 
|N/A
 
|N/A
 
|-
 
|-
 
|modules.product_parent.description
 
|modules.product_parent.description
|string
+
|[[#string|string]]
 
|Parent product description.
 
|Parent product description.
 
|N/A
 
|N/A
 
|-
 
|-
 
|modules.product_parent.image
 
|modules.product_parent.image
|string
+
|[[#string|string]]
 
|Parent product image.
 
|Parent product image.
 
|N/A
 
|N/A
 
|-
 
|-
 
|modules.product_parent.images
 
|modules.product_parent.images
|string
+
|[[#string|string]]
 
|Parent product additional images.
 
|Parent product additional images.
 
|N/A
 
|N/A
Rad 1 025: Rad 1 025:
 
|-
 
|-
 
|modules.associated_products.products
 
|modules.associated_products.products
|list of products
+
|[[#list|list]] of products
 
|Associated products.
 
|Associated products.
 
|N/A
 
|N/A
Rad 1 038: Rad 1 038:
 
|-
 
|-
 
|modules.product_attributes.attributes
 
|modules.product_attributes.attributes
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Product attributes.
 
|Product attributes.
 
|
 
|
Rad 1 047: Rad 1 047:
 
|-
 
|-
 
|value
 
|value
|string
+
|[[#string|string]]
 
|Attribute value.
 
|Attribute value.
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|Attribute index.
 
|Attribute index.
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Attribute name.
 
|Attribute name.
 
|-
 
|-
 
|type
 
|type
|integer
+
|[[#integer|integer]]
 
|Attribute type.
 
|Attribute type.
 
|-
 
|-
 
|selected
 
|selected
|integer
+
|[[#integer|integer]]
 
|Selected attribute.
 
|Selected attribute.
 
|-
 
|-
 
|options
 
|options
|list of index to value mappings
+
|[[#list|list]] of index to value mappings
 
|Attribute options.
 
|Attribute options.
 
|}
 
|}
Rad 1 080: Rad 1 080:
 
|-
 
|-
 
|modules.product_specifications.grouped
 
|modules.product_specifications.grouped
|list of categories
+
|[[#list|list]] of categories
 
|Specifications with multiple values per specification grouped into a values variable.
 
|Specifications with multiple values per specification grouped into a values variable.
 
|
 
|
 
|-
 
|-
 
|modules.product_specifications.hierarchy
 
|modules.product_specifications.hierarchy
|list of categories
+
|[[#list|list]] of categories
 
|The hierarchy of specifications used for this product.
 
|The hierarchy of specifications used for this product.
 
|
 
|
 
|-
 
|-
 
|modules.product_specifications.specifications
 
|modules.product_specifications.specifications
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Product specifications.
 
|Product specifications.
 
|
 
|
Rad 1 099: Rad 1 099:
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Specification name.
 
|Specification name.
 
|-
 
|-
 
|value
 
|value
|string
+
|[[#string|string]]
 
|Specification value.
 
|Specification value.
 
|}
 
|}
Rad 1 116: Rad 1 116:
 
|-
 
|-
 
|modules.products_in_package.products
 
|modules.products_in_package.products
|list of products
+
|[[#list|list]] of products
 
|Products in product package.
 
|Products in product package.
 
|N/A
 
|N/A
Rad 1 129: Rad 1 129:
 
|-
 
|-
 
|modules.products_reviews.captcha_href
 
|modules.products_reviews.captcha_href
|URL
+
|[[#URL|URL]]
 
|Link to the captcha image.
 
|Link to the captcha image.
 
|N/A
 
|N/A
 
|-
 
|-
 
|modules.products_reviews.error
 
|modules.products_reviews.error
|string
+
|[[#string|string]]
 
|Error message.
 
|Error message.
 
|N/A
 
|N/A
 
|-
 
|-
 
|modules.products_reviews.customer
 
|modules.products_reviews.customer
|dictionary
+
|[[#dictionary|dictionary]]
 
|Customer information.
 
|Customer information.
 
|
 
|
Rad 1 148: Rad 1 148:
 
|-
 
|-
 
|firstname
 
|firstname
|string
+
|[[#string|string]]
 
|First name.
 
|First name.
 
|-
 
|-
 
|lastname
 
|lastname
|string
+
|[[#string|string]]
 
|Last name.
 
|Last name.
 
|}
 
|}
 
|-
 
|-
 
|modules.products_reviews.reviews
 
|modules.products_reviews.reviews
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Product reviews.
 
|Product reviews.
 
|
 
|
Rad 1 166: Rad 1 166:
 
|-
 
|-
 
|rating
 
|rating
|integer
+
|[[#integer|integer]]
 
|Review rating, 1-5.
 
|Review rating, 1-5.
 
|-
 
|-
 
|author
 
|author
|string
+
|[[#string|string]]
 
|Review author.
 
|Review author.
 
|-
 
|-
 
|date
 
|date
|string
+
|[[#string|string]]
 
|Review date.
 
|Review date.
 
|-
 
|-
 
|text
 
|text
|HTML
+
|[[#HTML|HTML]]
 
|Review text.
 
|Review text.
 
|}
 
|}
Rad 1 191: Rad 1 191:
 
|-
 
|-
 
|modules.products_variants.category
 
|modules.products_variants.category
|integer
+
|[[#integer|integer]]
 
|Category index.
 
|Category index.
 
|N/A
 
|N/A
 
|-
 
|-
 
|modules.products_variants.variants
 
|modules.products_variants.variants
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Variants.
 
|Variants.
 
|
 
|
Rad 1 205: Rad 1 205:
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Variant name
 
|Variant name
 
|-
 
|-
 
|selected
 
|selected
|integer
+
|[[#integer|integer]]
 
|Selected variant.
 
|Selected variant.
 
|-
 
|-
 
|options
 
|options
|list of integer to value mappings
+
|[[#list|list]] of [[#integer|integer]] to value mappings
 
|Variants.
 
|Variants.
 
|}
 
|}
 
|-
 
|-
 
|modules.products_variants.products
 
|modules.products_variants.products
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Variants.
 
|Variants.
 
|
 
|
Rad 1 227: Rad 1 227:
 
|-
 
|-
 
|seo_link
 
|seo_link
|URL
+
|[[#URL|URL]]
 
|Variant URL.
 
|Variant URL.
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Variant name.
 
|Variant name.
 
|}
 
|}
 
|-
 
|-
 
|modules.products_variants.combinations
 
|modules.products_variants.combinations
|list of lists of integers
+
|[[#list|list]] of lists of [[#integers|integer]]s
 
|Available combinations of options.
 
|Available combinations of options.
 
|N/A
 
|N/A
 
|-
 
|-
 
|modules.products_variants.combination
 
|modules.products_variants.combination
|list of integers
+
|[[#list|list]] of [[#integers|integer]]s
 
|Currently selected combination.
 
|Currently selected combination.
 
|N/A
 
|N/A
Rad 1 254: Rad 1 254:
 
|-
 
|-
 
|modules.tell_a_friend.form_action
 
|modules.tell_a_friend.form_action
|URL
+
|[[#URL|URL]]
 
|Form handler.
 
|Form handler.
 
|N/A
 
|N/A
Rad 1 270: Rad 1 270:
 
|-
 
|-
 
|account_edit.form_action
 
|account_edit.form_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_edit.back_href
 
|account_edit.back_href
|URL
+
|[[#URL|URL]]
 
|A link back to the account page
 
|A link back to the account page
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_edit.account
 
|account_edit.account
|dictionary
+
|[[#dictionary|dictionary]]
 
|Account data
 
|Account data
 
|
 
|
Rad 1 289: Rad 1 289:
 
|-
 
|-
 
|firstname
 
|firstname
|string
+
|[[#string|string]]
 
|Account first name
 
|Account first name
 
|-
 
|-
 
|lastname
 
|lastname
|string
+
|[[#string|string]]
 
|Account last name
 
|Account last name
 
|-
 
|-
 
|personnummer
 
|personnummer
|string
+
|[[#string|string]]
 
|Account personnummer
 
|Account personnummer
 
|-
 
|-
 
|dob
 
|dob
|string
+
|[[#string|string]]
 
|Account date of birth
 
|Account date of birth
 
|-
 
|-
 
|email_address
 
|email_address
|string
+
|[[#string|string]]
 
|Account email address
 
|Account email address
 
|-
 
|-
 
|telephone
 
|telephone
|string
+
|[[#string|string]]
 
|Account telephone number
 
|Account telephone number
 
|-
 
|-
 
|mobile
 
|mobile
|string
+
|[[#string|string]]
 
|Account mobile telephone number
 
|Account mobile telephone number
 
|-
 
|-
 
|fax
 
|fax
|string
+
|[[#string|string]]
 
|Account fax number
 
|Account fax number
 
|-
 
|-
 
|gender
 
|gender
|string
+
|[[#string|string]]
 
|Account gender ('m' or 'f')
 
|Account gender ('m' or 'f')
 
|}
 
|}
Rad 1 334: Rad 1 334:
 
|-
 
|-
 
|account_history.account_href
 
|account_history.account_href
|URL
+
|[[#URL|URL]]
 
|A link back to the account page
 
|A link back to the account page
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_history.pagination
 
|account_history.pagination
|pagination
+
|[[#pagination|pagination]]
 
|Pagination info
 
|Pagination info
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_history.page_href_format
 
|account_history.page_href_format
|URL
+
|[[#URL|URL]]
 
|Pagination link format
 
|Pagination link format
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_history.order_history
 
|account_history.order_history
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Order history
 
|Order history
 
|
 
|
Rad 1 358: Rad 1 358:
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|Order ID
 
|Order ID
 
|-
 
|-
 
|status
 
|status
|string
+
|[[#string|string]]
 
|Order status
 
|Order status
 
|-
 
|-
 
|date
 
|date
|string
+
|[[#string|string]]
 
|Order date
 
|Order date
 
|-
 
|-
 
|type
 
|type
|string
+
|[[#string|string]]
 
|Order type
 
|Order type
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Order delivery name
 
|Order delivery name
 
|-
 
|-
 
|product_count
 
|product_count
|integer
+
|[[#integer|integer]]
 
|Product count
 
|Product count
 
|-
 
|-
 
|total
 
|total
|string
+
|[[#string|string]]
 
|Order total
 
|Order total
 
|-
 
|-
 
|href
 
|href
|URL
+
|[[#URL|URL]]
 
|A link to the description of the order
 
|A link to the description of the order
 
|-
 
|-
Rad 1 400: Rad 1 400:
 
|-
 
|-
 
|account_history_info.back_href
 
|account_history_info.back_href
|URL
+
|[[#URL|URL]]
 
|Link back to the account order history
 
|Link back to the account order history
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_history_info.order
 
|account_history_info.order
|dictionary
+
|[[#dictionary|dictionary]]
 
|Order info
 
|Order info
 
|
 
|
Rad 1 414: Rad 1 414:
 
|-
 
|-
 
|id_formatted
 
|id_formatted
|string
+
|[[#string|string]]
 
|Order ID
 
|Order ID
 
|-
 
|-
 
|status
 
|status
|string
+
|[[#string|string]]
 
|Order status
 
|Order status
 
|-
 
|-
 
|date
 
|date
|string
+
|[[#string|string]]
 
|Order date
 
|Order date
 
|-
 
|-
 
|total
 
|total
|string
+
|[[#string|string]]
 
|Order total
 
|Order total
 
|-
 
|-
 
|shipping_method
 
|shipping_method
|string
+
|[[#string|string]]
 
|Order shipping method
 
|Order shipping method
 
|-
 
|-
 
|payment_method
 
|payment_method
|string
+
|[[#string|string]]
 
|Order payment method
 
|Order payment method
 
|-
 
|-
 
|tax_group_count
 
|tax_group_count
|integer
+
|[[#integer|integer]]
 
|Number of different tax groups
 
|Number of different tax groups
 
|-
 
|-
 
|billing_address
 
|billing_address
|string
+
|[[#string|string]]
 
|Order billing address
 
|Order billing address
 
|-
 
|-
 
|delivery_address
 
|delivery_address
|string
+
|[[#string|string]]
 
|Order delivery address
 
|Order delivery address
 
|-
 
|-
 
|delivery
 
|delivery
|boolean
+
|[[#boolean|boolean]]
 
|
 
|
 
|-
 
|-
 
|products
 
|products
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Products in order
 
|Products in order
 
{| class="wikitable"
 
{| class="wikitable"
Rad 1 462: Rad 1 462:
 
|-
 
|-
 
|qty
 
|qty
|integer
+
|[[#integer|integer]]
 
|Product quantity
 
|Product quantity
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|Product ID
 
|Product ID
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Product name
 
|Product name
 
|-
 
|-
 
|model
 
|model
|string
+
|[[#string|string]]
 
|Product model
 
|Product model
 
|-
 
|-
 
|tax
 
|tax
|decimal
+
|[[#decimal|decimal]]
 
|Product tax
 
|Product tax
 
|-
 
|-
 
|price
 
|price
|decimal
+
|[[#decimal|decimal]]
 
|Product price
 
|Product price
 
|-
 
|-
 
|-
 
|-
 
|final_price
 
|final_price
|decimal
+
|[[#decimal|decimal]]
 
|Final product price
 
|Final product price
 
|-
 
|-
 
|image
 
|image
|string
+
|[[#string|string]]
 
|Address to image
 
|Address to image
 
|-
 
|-
 
|href
 
|href
|string
+
|[[#string|string]]
 
|Link address to product
 
|Link address to product
 
|-
 
|-
 
|status
 
|status
|string
+
|[[#string|string]]
 
|Products status. 0 = inactive, 1 = active
 
|Products status. 0 = inactive, 1 = active
 
|}
 
|}
 
|-
 
|-
 
|totals
 
|totals
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Order parts of total
 
|Order parts of total
 
{| class="wikitable"
 
{| class="wikitable"
Rad 1 512: Rad 1 512:
 
|-
 
|-
 
|title
 
|title
|string
+
|[[#string|string]]
 
|Total part label
 
|Total part label
 
|-
 
|-
 
|text
 
|text
|HTML
+
|[[#HTML|HTML]]
 
|Total part value
 
|Total part value
 
|}
 
|}
 
|-
 
|-
 
|statuses
 
|statuses
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Order statuses
 
|Order statuses
 
{| class="wikitable"
 
{| class="wikitable"
Rad 1 529: Rad 1 529:
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Status name
 
|Status name
 
|-
 
|-
 
|date
 
|date
|string
+
|[[#string|string]]
 
|Status date
 
|Status date
 
|-
 
|-
 
|comments
 
|comments
|string
+
|[[#string|string]]
 
|Status comments
 
|Status comments
 
|}
 
|}
 
|-
 
|-
 
|events
 
|events
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Order delivery events
 
|Order delivery events
 
{| class="wikitable"
 
{| class="wikitable"
Rad 1 550: Rad 1 550:
 
|-
 
|-
 
|date
 
|date
|string
+
|[[#string|string]]
 
|Event date
 
|Event date
 
|-
 
|-
 
|location
 
|location
|string
+
|[[#string|string]]
 
|Event location
 
|Event location
 
|-
 
|-
 
|description
 
|description
|string
+
|[[#string|string]]
 
|Event description
 
|Event description
 
|}
 
|}
Rad 1 572: Rad 1 572:
 
|-
 
|-
 
|account.account_history_href
 
|account.account_history_href
|URL
+
|[[#URL|URL]]
 
|A link to the account history page
 
|A link to the account history page
 
|N/A
 
|N/A
 
|-
 
|-
 
|account.account_edit_href
 
|account.account_edit_href
|URL
+
|[[#URL|URL]]
 
|A link to the edit account page
 
|A link to the edit account page
 
|N/A
 
|N/A
 
|-
 
|-
 
|account.address_book_href
 
|account.address_book_href
|URL
+
|[[#URL|URL]]
 
|A link to the address book page
 
|A link to the address book page
 
|N/A
 
|N/A
 
|-
 
|-
 
|account.account_password_href
 
|account.account_password_href
|URL
+
|[[#URL|URL]]
 
|A link to the password change page
 
|A link to the password change page
 
|N/A
 
|N/A
 
|-
 
|-
 
|account.logoff_href
 
|account.logoff_href
|URL
+
|[[#URL|URL]]
 
|A link to the logoff page
 
|A link to the logoff page
 
|N/A
 
|N/A
 
|-
 
|-
 
|account.account_newsletters_href
 
|account.account_newsletters_href
|URL
+
|[[#URL|URL]]
 
|A link to the newsletters page
 
|A link to the newsletters page
 
|N/A
 
|N/A
 
|-
 
|-
 
|account.account_notifications_href
 
|account.account_notifications_href
|URL
+
|[[#URL|URL]]
 
|A link to the notifications page
 
|A link to the notifications page
 
|N/A
 
|N/A
 
|-
 
|-
 
|account.order_history_enabled
 
|account.order_history_enabled
|boolean
+
|[[#boolean|boolean]]
 
|Is the order history enabled?
 
|Is the order history enabled?
 
|N/A
 
|N/A
 
|-
 
|-
 
|account.order_history
 
|account.order_history
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Order history
 
|Order history
 
|
 
|
Rad 1 621: Rad 1 621:
 
|-
 
|-
 
|href
 
|href
|URL
+
|[[#URL|URL]]
 
|A link to the order description page
 
|A link to the order description page
 
|-
 
|-
 
|date
 
|date
|string
+
|[[#string|string]]
 
|The date the order was placed
 
|The date the order was placed
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|Order ID
 
|Order ID
 
|-
 
|-
 
|country
 
|country
|string
+
|[[#string|string]]
 
|Order delivery name and country
 
|Order delivery name and country
 
|-
 
|-
 
|status
 
|status
|string
+
|[[#string|string]]
 
|Order status
 
|Order status
 
|-
 
|-
 
|total
 
|total
|HTML
+
|[[#HTML|HTML]]
 
|Order total
 
|Order total
 
|}
 
|}
Rad 1 654: Rad 1 654:
 
|-
 
|-
 
|account_newsletters.form_action
 
|account_newsletters.form_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_newsletters.back_href
 
|account_newsletters.back_href
|URL
+
|[[#URL|URL]]
 
|Link back to the account page
 
|Link back to the account page
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_newsletters.subscribed
 
|account_newsletters.subscribed
|boolean
+
|[[#boolean|boolean]]
 
|Is the user subscribed to the newsletter
 
|Is the user subscribed to the newsletter
 
|N/A
 
|N/A
Rad 1 677: Rad 1 677:
 
|-
 
|-
 
|account_notifications.form_action
 
|account_notifications.form_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_notifications.account_href
 
|account_notifications.account_href
|URL
+
|[[#URL|URL]]
 
|A link back to the account page
 
|A link back to the account page
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_notifications.products
 
|account_notifications.products
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|The products subscribed to
 
|The products subscribed to
 
|
 
|
Rad 1 696: Rad 1 696:
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|Product ID
 
|Product ID
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Product name
 
|Product name
 
|-
 
|-
 
|counter
 
|counter
|integer
+
|[[#integer|integer]]
 
|List index
 
|List index
 
|}
 
|}
 
|-
 
|-
 
|account_notifications.global_product_notifications
 
|account_notifications.global_product_notifications
|boolean
+
|[[#boolean|boolean]]
 
|Has the user enabled the global product notification setting
 
|Has the user enabled the global product notification setting
 
|N/A
 
|N/A
Rad 1 722: Rad 1 722:
 
|-
 
|-
 
|account_password.form_action
 
|account_password.form_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_password.back_href
 
|account_password.back_href
|URL
+
|[[#URL|URL]]
 
|Link back to the account page
 
|Link back to the account page
 
|N/A
 
|N/A
Rad 1 740: Rad 1 740:
 
|-
 
|-
 
|account_password_new.form_action
 
|account_password_new.form_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_password_new.back_href
 
|account_password_new.back_href
|URL
+
|[[#URL|URL]]
 
|Link back to the account page
 
|Link back to the account page
 
|N/A
 
|N/A
 
|-
 
|-
 
|account_password_new.password_provided
 
|account_password_new.password_provided
|boolean
+
|[[#boolean|boolean]]
 
|Is a password provided by the user, or the default password
 
|Is a password provided by the user, or the default password
 
|N/A
 
|N/A
Rad 1 763: Rad 1 763:
 
|-
 
|-
 
|address_book.back_href
 
|address_book.back_href
|URL
+
|[[#URL|URL]]
 
|A link back to the account page
 
|A link back to the account page
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book.add_href
 
|address_book.add_href
|URL
+
|[[#URL|URL]]
 
|A link to a form which adds a new entry to the address book
 
|A link to a form which adds a new entry to the address book
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book.entries_count
 
|address_book.entries_count
|integer
+
|[[#integer|integer]]
 
|Number of entries
 
|Number of entries
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book.address_label
 
|address_book.address_label
|HTML
+
|[[#HTML|HTML]]
 
|Address label
 
|Address label
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book.addresses
 
|address_book.addresses
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|The addresses in the address book
 
|The addresses in the address book
 
|
 
|
Rad 1 792: Rad 1 792:
 
|-
 
|-
 
|default
 
|default
|boolean
+
|[[#boolean|boolean]]
 
|Is this the default address book entry
 
|Is this the default address book entry
 
|-
 
|-
 
|edit_href
 
|edit_href
|URL
+
|[[#URL|URL]]
 
|A link to edit the entry
 
|A link to edit the entry
 
|-
 
|-
 
|delete_href
 
|delete_href
|URL
+
|[[#URL|URL]]
 
|A link to delete the entry
 
|A link to delete the entry
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|Associated name
 
|Associated name
 
|-
 
|-
 
|address
 
|address
|HTML
+
|[[#HTML|HTML]]
 
|The address
 
|The address
 
|}
 
|}
Rad 1 821: Rad 1 821:
 
|-
 
|-
 
|address_book_process.editing
 
|address_book_process.editing
|boolean
+
|[[#boolean|boolean]]
 
|Is the page in the editing mode?
 
|Is the page in the editing mode?
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book_process.deleting
 
|address_book_process.deleting
|boolean
+
|[[#boolean|boolean]]
 
|Is the page in the deletion mode?
 
|Is the page in the deletion mode?
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book_process.edit_form_action
 
|address_book_process.edit_form_action
|URL
+
|[[#URL|URL]]
 
|A link to a page which handles the editing form
 
|A link to a page which handles the editing form
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book_process.delete_form_action
 
|address_book_process.delete_form_action
|URL
+
|[[#URL|URL]]
 
|A link to a page which handles the deletion form
 
|A link to a page which handles the deletion form
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book_process.address_label
 
|address_book_process.address_label
|HTML
+
|[[#HTML|HTML]]
 
|The address
 
|The address
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book_process.back_href
 
|address_book_process.back_href
|URL
+
|[[#URL|URL]]
 
|A back link
 
|A back link
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book_process.address_book_href
 
|address_book_process.address_book_href
|URL
+
|[[#URL|URL]]
 
|A link to the address_book
 
|A link to the address_book
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book_process.process
 
|address_book_process.process
|boolean
+
|[[#boolean|boolean]]
 
|Is the page in the processing mode?
 
|Is the page in the processing mode?
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book_process.default_address
 
|address_book_process.default_address
|boolean
+
|[[#boolean|boolean]]
 
|Is this the default address?
 
|Is this the default address?
 
|N/A
 
|N/A
 
|-
 
|-
 
|address_book_process.entry
 
|address_book_process.entry
|dictionary
+
|[[#dictionary|dictionary]]
 
|The fields in the current entry
 
|The fields in the current entry
 
|
 
|
Rad 1 875: Rad 1 875:
 
|-
 
|-
 
|male
 
|male
|boolean
+
|[[#boolean|boolean]]
 
|Male gender?
 
|Male gender?
 
|-
 
|-
 
|firstname
 
|firstname
|string
+
|[[#string|string]]
 
|First name
 
|First name
 
|-
 
|-
 
|lastname
 
|lastname
|string
+
|[[#string|string]]
 
|Last name
 
|Last name
 
|-
 
|-
 
|company
 
|company
|string
+
|[[#string|string]]
 
|Company
 
|Company
 
|-
 
|-
 
|street_address
 
|street_address
|string
+
|[[#string|string]]
 
|Street address
 
|Street address
 
|-
 
|-
 
|suburb
 
|suburb
|string
+
|[[#string|string]]
 
|Suburb
 
|Suburb
 
|-
 
|-
 
|postcode
 
|postcode
|string
+
|[[#string|string]]
 
|Post code
 
|Post code
 
|-
 
|-
 
|city
 
|city
|string
+
|[[#string|string]]
 
|City
 
|City
 
|-
 
|-
 
|country_list
 
|country_list
|HTML
+
|[[#HTML|HTML]]
 
|A drop-down list with countries
 
|A drop-down list with countries
 
|-
 
|-
 
|state_has_zones
 
|state_has_zones
|boolean
+
|[[#boolean|boolean]]
 
|Does the state have zones?
 
|Does the state have zones?
 
|-
 
|-
 
|state
 
|state
|string
+
|[[#string|string]]
 
|State
 
|State
 
|-
 
|-
Rad 1 932: Rad 1 932:
 
|-
 
|-
 
|advanced_search.form_action
 
|advanced_search.form_action
|string
+
|[[#string|string]]
 
|A link to the page which handles the form.
 
|A link to the page which handles the form.
 
|N/A
 
|N/A
Rad 1 939: Rad 1 939:
 
|association list
 
|association list
 
|A list of category names mapped to their indices.
 
|A list of category names mapped to their indices.
|Array of string to integer mappings.
+
|[[#dictionary|dictionary]] of [[#string|string]] to [[#integer|integer]] mappings.
 
|-
 
|-
 
|advanced_search.manufacturers
 
|advanced_search.manufacturers
 
|association list
 
|association list
 
|A list of manufacturer names mapped to their indices.
 
|A list of manufacturer names mapped to their indices.
|Array of string to integer mappings.
+
|[[#dictionary|dictionary]] of [[#string|string]] to [[#integer|integer]] mappings.
 
|}
 
|}
  
Rad 1 951: Rad 1 951:
 
!Variable name                        !! Type            !! Description !! Format
 
!Variable name                        !! Type            !! Description !! Format
 
|-
 
|-
| advanced_search_results.results    || list of products || The search results. ||N/A
+
| advanced_search_results.results    || [[#list|list]] of products || The search results. ||N/A
 
|-
 
|-
| advanced_search_results.num_results || integer          || The number of search results. || N/A
+
| advanced_search_results.num_results || [[#integer|integer]]         || The number of search results. || N/A
 
|-
 
|-
| advanced_search_results.back_href  || URL              || A link for returning to the search page. || N/A
+
| advanced_search_results.back_href  || [[#URL|URL]]             || A link for returning to the search page. || N/A
 
|}
 
|}
  
Rad 1 962: Rad 1 962:
 
!Variable name                  !! Type            !! Description !! Format
 
!Variable name                  !! Type            !! Description !! Format
 
|-
 
|-
| campaign.campaign_name        || HTML            || Title of campaign. ||N/A
+
| campaign.campaign_name        || [[#HTML|HTML]]             || Title of campaign. ||N/A
 
|-
 
|-
| campaign.campaign_description || HTML            || Description of campaign. ||N/A
+
| campaign.campaign_description || [[#HTML|HTML]]             || Description of campaign. ||N/A
 
|-
 
|-
| campaign.campaign_image      || URL              || Selected campaign image. ||N/A
+
| campaign.campaign_image      || [[#URL|URL]]             || Selected campaign image. ||N/A
 
|-
 
|-
| campaign.products            || list of products || Products included in campaign. ||N/A
+
| campaign.products            || [[#list|list]] of products || Products included in campaign. ||N/A
 
|}
 
|}
  
Rad 1 975: Rad 1 975:
 
!Variable name                            !! Type                !! Description !! Format
 
!Variable name                            !! Type                !! Description !! Format
 
|-
 
|-
| categories_listing.header                || dictionary          || Attributes for the top of the page. It is either a manufacturer or a category ||
+
| categories_listing.header                || [[#dictionary|dictionary]]           || Attributes for the top of the page. It is either a manufacturer or a category ||
 
{| class="wikitable"
 
{| class="wikitable"
 
! Key !! Type !! Description
 
! Key !! Type !! Description
 
|-
 
|-
| name  || string || Name of category/manufacturer
+
| name  || [[#string|string]] || Name of category/manufacturer
 
|-
 
|-
| alternative_name || string || An alternative category name.  (SEO name.)
+
| alternative_name || [[#string|string]] || An alternative category name.  (SEO name.)
 
|-
 
|-
| image || string || Image URL for category/manufacturer
+
| image || [[#string|string]] || Image [[#URL|URL]] for category/manufacturer
 
|-
 
|-
| text  || HTML  || Description of category/manufacturer
+
| text  || [[#HTML|HTML]]   || Description of category/manufacturer
 
|-
 
|-
| alternative_text  || HTML  || An alternative category description.  (SEO text.)
+
| alternative_text  || [[#HTML|HTML]]   || An alternative category description.  (SEO text.)
 
|}
 
|}
 
|-
 
|-
| categories_listing.header                || dictionary          || Page header attributes: image, description and title ||
+
| categories_listing.header                || [[#dictionary|dictionary]]           || Page header attributes: image, description and title ||
 
|-
 
|-
| categories_listing.page_limit            || integer              || Maximum number of products per page || N/A
+
| categories_listing.page_limit            || [[#integer|integer]]             || Maximum number of products per page || N/A
 
|-
 
|-
| categories_listing.page_limits          || list of integers    || List of available page limits. 0 means all product on one page || N/A
+
| categories_listing.page_limits          || [[#list|list]] of [[#integers|integer]]s     || List of available page limits. 0 means all product on one page || N/A
 
|-
 
|-
| categories_listing.page_index            || integer              || Current page number || N/A
+
| categories_listing.page_index            || [[#integer|integer]]             || Current page number || N/A
 
|-
 
|-
| categories_listing.page_count            || integer              || Number of pages || N/A
+
| categories_listing.page_count            || [[#integer|integer]]             || Number of pages || N/A
 
|-
 
|-
| categories_listing.cpath                || list of integers    || List of category IDs, where the last one is the current category, the second last the current category's parent and so on. The first element is the top level category.  ||N/A
+
| categories_listing.cpath                || [[#list|list]] of [[#integers|integer]]s     || List of category IDs, where the last one is the current category, the second last the current category's parent and so on. The first element is the top level category.  ||N/A
 
|-
 
|-
| categories_listing.product_list          || list of dictionaries || All products for current page || [[Templating:Variables#product|Product list]]
+
| categories_listing.product_list          || [[#list|list]] of [[#dictionary|dictionaries]] || All products for current page || [[Templating:Variables#product|Product list]]
 
|-
 
|-
| categories_listing.product_count        || integer              || Total number of products using current filters || N/A
+
| categories_listing.product_count        || [[#integer|integer]]             || Total number of products using current filters || N/A
 
|-
 
|-
| categories_listing.sort_options          || dictionary          || Total number of products using current filters || Identifier (''model, price, etc'') as key and name (''Model, Price, etc'') as values
+
| categories_listing.sort_options          || [[#dictionary|dictionary]]           || Total number of products using current filters || Identifier (''model, price, etc'') as key and name (''Model, Price, etc'') as values
 
|-
 
|-
| categories_listing.sort_form_href        || string              || Link to the same page. || N/A
+
| categories_listing.sort_form_href        || [[#string|string]]               || Link to the same page. || N/A
 
|-
 
|-
| categories_listing.sort_name_href        || string              || Link to the same page when sorting by name. If already sorting by name, this URL inverts the order || N/A
+
| categories_listing.sort_name_href        || [[#string|string]]               || Link to the same page when sorting by name. If already sorting by name, this URL inverts the order || N/A
 
|-
 
|-
| categories_listing.sort_model_href      || string              || Link to the same page when sorting by model. If already sorting by model, this URL inverts the order || N/A
+
| categories_listing.sort_model_href      || [[#string|string]]               || Link to the same page when sorting by model. If already sorting by model, this URL inverts the order || N/A
 
|-
 
|-
| categories_listing.sort_price_href      || string              || Link to the same page when sorting by price. If already sorting by price, this URL inverts the order || N/A
+
| categories_listing.sort_price_href      || [[#string|string]]               || Link to the same page when sorting by price. If already sorting by price, this URL inverts the order || N/A
 
|-
 
|-
| categories_listing.pagination_uri_format || string              || Format string for pagination. It contains a %d that the pagination macro replaces by page number || N/A
+
| categories_listing.pagination_uri_format || [[#string|string]]               || Format string for pagination. It contains a %d that the pagination macro replaces by page number || N/A
 
|-
 
|-
| categories_listing.default_list_style    || integer              || By default this layout for the listing is selected || N/A
+
| categories_listing.default_list_style    || [[#integer|integer]]             || By default this layout for the listing is selected || N/A
 
|-
 
|-
| categories_listing.tags                  || list of tags        || Root tags for which at least one subtag is used by one of the listed products. || N/A
+
| categories_listing.tags                  || [[#list|list]] of [[#tag|tags]]         || Root tags for which at least one subtag is used by one of the listed products. || N/A
 
|-
 
|-
| categories_listing.used_tag_ids          || list of integers    || The tags used by at least one product in the filtered set of products.|| N/A
+
| categories_listing.used_tag_ids          || [[#list|list]] of [[#integers|integer]]s     || The tags used by at least one product in the filtered set of products.|| N/A
 
|-
 
|-
| categories_listing.manufacturers        || list of dictionaries || Manufacturers used by products in current category tree. ||
+
| categories_listing.manufacturers        || [[#list|list]] of [[#dictionary|dictionaries]] || Manufacturers used by products in current category tree. ||
 
{| class="wikitable"
 
{| class="wikitable"
 
! Key !! Type !! Description
 
! Key !! Type !! Description
 
|-
 
|-
| id  || string || Manufacturer ID.
+
| id  || [[#string|string]] || Manufacturer ID.
 
|-
 
|-
| name || string || Manufacturer name.
+
| name || [[#string|string]] || Manufacturer name.
 
|-
 
|-
| image || URL || Manufacturer image.
+
| image || [[#URL|URL]] || Manufacturer image.
 
|}
 
|}
 
|}
 
|}
Rad 2 044: Rad 2 044:
 
|-
 
|-
 
|checkout_success.update_action
 
|checkout_success.update_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
 
|-
 
|-
 
|checkout_success.heading
 
|checkout_success.heading
|string
+
|[[#string|string]]
 
|Page heading
 
|Page heading
 
|N/A
 
|N/A
 
|-
 
|-
 
|checkout_success.text
 
|checkout_success.text
|HTML
+
|[[#HTML|HTML]]
 
|Page content
 
|Page content
 
|N/A
 
|N/A
 
|-
 
|-
 
|checkout_success.order_id
 
|checkout_success.order_id
|integer
+
|[[#integer|integer]]
 
|Order ID
 
|Order ID
 
|N/A
 
|N/A
 
|-
 
|-
 
|checkout_success.survey_questions
 
|checkout_success.survey_questions
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Survey questions
 
|Survey questions
 
|
 
|
Rad 2 073: Rad 2 073:
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|Question ID
 
|Question ID
 
|-
 
|-
 
|question
 
|question
|string
+
|[[#string|string]]
 
|Question
 
|Question
 
|-
 
|-
 
|alternatives
 
|alternatives
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Question alternatives
 
|Question alternatives
 
{| class="wikitable"
 
{| class="wikitable"
Rad 2 089: Rad 2 089:
 
|-
 
|-
 
|type
 
|type
|integer
+
|[[#integer|integer]]
 
|Alternative type, 1 for a radio button, an input field otherwise
 
|Alternative type, 1 for a radio button, an input field otherwise
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|Alternative ID
 
|Alternative ID
 
|-
 
|-
 
|answer
 
|answer
|string
+
|[[#string|string]]
 
|Alternative text
 
|Alternative text
 
|-
 
|-
Rad 2 112: Rad 2 112:
 
|-
 
|-
 
|contact.form_href
 
|contact.form_href
|string
+
|[[#string|string]]
 
|URL with target of form for handling user input data
 
|URL with target of form for handling user input data
 
|N/A
 
|N/A
 
|-
 
|-
 
|contact.captcha
 
|contact.captcha
|boolean
+
|[[#boolean|boolean]]
 
|Determines whether Captcha should be used or not
 
|Determines whether Captcha should be used or not
 
|N/A
 
|N/A
Rad 2 127: Rad 2 127:
 
|-
 
|-
 
|contact.email
 
|contact.email
|string
+
|[[#string|string]]
 
|Contains customer e-mail if customer is logged in or validation if validation of a field failed
 
|Contains customer e-mail if customer is logged in or validation if validation of a field failed
 
|N/A
 
|N/A
 
|-
 
|-
 
|contact.heading
 
|contact.heading
|string
+
|[[#string|string]]
 
|Contains heading text
 
|Contains heading text
 
|N/A
 
|N/A
 
|-
 
|-
 
|contact.text
 
|contact.text
|string
+
|[[#string|string]]
|Contains a descriptive text of what the contact us page is. It most certainly contains HTML so the [http://www.twig-project.org/doc/templates.html#raw raw] filter may be appropriate to use
+
|Contains a descriptive text of what the contact us page is. It most certainly contains [[#HTML|HTML]] so the [http://www.twig-project.org/doc/templates.html#raw raw] filter may be appropriate to use
 
|N/A
 
|N/A
 
|}
 
|}
Rad 2 150: Rad 2 150:
 
|-
 
|-
 
|cookie_usage.continue_href
 
|cookie_usage.continue_href
|string
+
|[[#string|string]]
 
|A link to the next page (index.php)
 
|A link to the next page (index.php)
 
|N/A
 
|N/A
Rad 2 163: Rad 2 163:
 
|-
 
|-
 
|gallery.title
 
|gallery.title
|string
+
|[[#string|string]]
 
|Gallery title.
 
|Gallery title.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.description
 
|gallery.description
|string
+
|[[#string|string]]
 
|Gallery description or content.
 
|Gallery description or content.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.date
 
|gallery.date
|string
+
|[[#string|string]]
 
|Last modification date.
 
|Last modification date.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.type
 
|gallery.type
|string
+
|[[#string|string]]
 
|Type of gallery.
 
|Type of gallery.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.upload_data_action
 
|gallery.upload_data_action
|URL
+
|[[#URL|URL]]
 
|Form action for uploading.
 
|Form action for uploading.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.upload_data_check
 
|gallery.upload_data_check
|boolean
+
|[[#boolean|boolean]]
 
|True.
 
|True.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.upload_data_type
 
|gallery.upload_data_type
|HTML
+
|[[#HTML|HTML]]
 
|Form field.
 
|Form field.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.page_title
 
|gallery.page_title
|string
+
|[[#string|string]]
 
|Edited page title.
 
|Edited page title.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.page_description
 
|gallery.page_description
|HTML
+
|[[#HTML|HTML]]
 
|Edited page description.
 
|Edited page description.
 
|N/A
 
|N/A
Rad 2 223: Rad 2 223:
 
|-
 
|-
 
|gallery.form_page_description
 
|gallery.form_page_description
|string
+
|[[#string|string]]
 
|Edited page description, escaped.
 
|Edited page description, escaped.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.gallery_owned
 
|gallery.gallery_owned
|boolean
+
|[[#boolean|boolean]]
 
|Set if the gallery is owned by the logged-in user.
 
|Set if the gallery is owned by the logged-in user.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.edit_content_link
 
|gallery.edit_content_link
|URL
+
|[[#URL|URL]]
 
|Link for editing the gallery.
 
|Link for editing the gallery.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.remove_content_link
 
|gallery.remove_content_link
|URL
+
|[[#URL|URL]]
 
|Link for removing the gallery.
 
|Link for removing the gallery.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.edit_mode
 
|gallery.edit_mode
|boolean
+
|[[#boolean|boolean]]
 
|Set when editing, otherwise adding.
 
|Set when editing, otherwise adding.
 
|N/A
 
|N/A
 
|-
 
|-
 
|gallery.gallery_fields
 
|gallery.gallery_fields
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Gallery fields.
 
|Gallery fields.
 
|
 
|
Rad 2 257: Rad 2 257:
 
|-
 
|-
 
|label
 
|label
|string
+
|[[#string|string]]
 
|Field label.
 
|Field label.
 
|-
 
|-
 
|output
 
|output
|HTML
+
|[[#HTML|HTML]]
 
|Form field.
 
|Form field.
 
|}
 
|}
 
|-
 
|-
 
|gallery.children
 
|gallery.children
|list of string to dictionary mappings
+
|[[#list|list]] of [[#string|string]] to [[#dictionary|dictionary]] mappings
 
|Child galleries indexed by gallery type.
 
|Child galleries indexed by gallery type.
 
|
 
|
Rad 2 275: Rad 2 275:
 
|-
 
|-
 
|title
 
|title
|string
+
|[[#string|string]]
 
|Gallery title.
 
|Gallery title.
 
|-
 
|-
 
|description
 
|description
|HTML
+
|[[#HTML|HTML]]
 
|Gallery description.
 
|Gallery description.
 
|-
 
|-
 
|link
 
|link
|URL
+
|[[#URL|URL]]
 
|Child gallery link.
 
|Child gallery link.
 
|-
 
|-
 
|date
 
|date
|string
+
|[[#string|string]]
 
|Last modification date.
 
|Last modification date.
 
|}
 
|}
 
|-
 
|-
 
|gallery.siblings
 
|gallery.siblings
|list of string to dictionary mappings
+
|[[#list|list]] of [[#string|string]] to [[#dictionary|dictionary]] mappings
 
|Sibling galleries indexed by gallery type.
 
|Sibling galleries indexed by gallery type.
 
|See gallery.children.
 
|See gallery.children.
Rad 2 305: Rad 2 305:
 
|-
 
|-
 
|index.text
 
|index.text
|HTML
+
|[[#HTML|HTML]]
 
|Page text
 
|Page text
 
|N/A
 
|N/A
Rad 2 312: Rad 2 312:
 
|products
 
|products
 
|A random selection of products.
 
|A random selection of products.
|list of products
+
|[[#list|list]] of products
 
|-
 
|-
 
|index.featured_products
 
|index.featured_products
 
|products
 
|products
 
|A list of featured products.
 
|A list of featured products.
|list of products
+
|[[#list|list]] of products
 
|-
 
|-
 
|index.new_products
 
|index.new_products
 
|products
 
|products
 
|A list of recently added products.
 
|A list of recently added products.
|list of products
+
|[[#list|list]] of products
 
|-
 
|-
 
|index.specials_products
 
|index.specials_products
 
|products
 
|products
 
|A list of products with special prices.
 
|A list of products with special prices.
|list of products
+
|[[#list|list]] of products
 
|}
 
|}
  
Rad 2 338: Rad 2 338:
 
|-
 
|-
 
|kolli.heading
 
|kolli.heading
|string
+
|[[#string|string]]
 
|Page heading
 
|Page heading
 
|N/A
 
|N/A
 
|-
 
|-
 
|kolli.text
 
|kolli.text
|HTML
+
|[[#HTML|HTML]]
 
|Page text
 
|Page text
 
|N/A
 
|N/A
Rad 2 356: Rad 2 356:
 
|-
 
|-
 
|create_account.form_action
 
|create_account.form_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
 
|-
 
|-
 
|create_account.heading
 
|create_account.heading
|string
+
|[[#string|string]]
 
|Page heading.
 
|Page heading.
 
|N/A
 
|N/A
 
|-
 
|-
 
|create_account.text
 
|create_account.text
|string
+
|[[#string|string]]
 
|Page text.
 
|Page text.
 
|N/A
 
|N/A
 
|-
 
|-
 
|create_account.generated_password
 
|create_account.generated_password
|string
+
|[[#string|string]]
 
|A randomly generated password suitable for the new account.
 
|A randomly generated password suitable for the new account.
 
|N/A
 
|N/A
 
|-
 
|-
 
|create_account.customers_personnummer
 
|create_account.customers_personnummer
|string
+
|[[#string|string]]
 
|
 
|
 
|N/A
 
|N/A
Rad 2 383: Rad 2 383:
 
|association list
 
|association list
 
|A list of country indices mapped to their names.
 
|A list of country indices mapped to their names.
|Array of integer to string mappings.
+
|[[#dictionary|dictionary]] of [[#integer|integer]] to [[#string|string]] mappings.
 
|}
 
|}
  
Rad 2 393: Rad 2 393:
 
|-
 
|-
 
|login.form_action
 
|login.form_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
 
|-
 
|-
 
|login.heading
 
|login.heading
|string
+
|[[#string|string]]
 
|Page heading
 
|Page heading
 
|N/A
 
|N/A
 
|-
 
|-
 
|login.page_name
 
|login.page_name
|string
+
|[[#string|string]]
 
|
 
|
 
|N/A
 
|N/A
Rad 2 415: Rad 2 415:
 
|-
 
|-
 
|password_forgotten.form_action
 
|password_forgotten.form_action
|string
+
|[[#string|string]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
 
|-
 
|-
 
|password_forgotten.back_href
 
|password_forgotten.back_href
|string
+
|[[#string|string]]
 
|A link to the parent page (login.php)
 
|A link to the parent page (login.php)
 
|N/A
 
|N/A
Rad 2 434: Rad 2 434:
 
|-
 
|-
 
|containboxes.create_account.form_action
 
|containboxes.create_account.form_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
 
|-
 
|-
 
|containboxes.create_account.text
 
|containboxes.create_account.text
|HTML
+
|[[#HTML|HTML]]
 
|Box text
 
|Box text
 
|N/A
 
|N/A
 
|-
 
|-
 
|containboxes.create_account.generated_password
 
|containboxes.create_account.generated_password
|string
+
|[[#string|string]]
 
|A randomly generated password suitable for the new account.
 
|A randomly generated password suitable for the new account.
 
|N/A
 
|N/A
 
|-
 
|-
 
|containboxes.create_account.customers_personnummer
 
|containboxes.create_account.customers_personnummer
|string
+
|[[#string|string]]
 
|The customer's personnummer
 
|The customer's personnummer
 
|N/A
 
|N/A
Rad 2 456: Rad 2 456:
 
|association list
 
|association list
 
|A list of country indices mapped to their names.
 
|A list of country indices mapped to their names.
|Array of integer to string mappings.
+
|[[#dictionary|dictionary]] of [[#integer|integer]] to [[#string|string]] mappings.
 
|}
 
|}
  
Rad 2 467: Rad 2 467:
 
|-
 
|-
 
|containboxes.login_box.form_action
 
|containboxes.login_box.form_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
Rad 2 480: Rad 2 480:
 
|-
 
|-
 
|containboxes.password_forgotten_box.form_action
 
|containboxes.password_forgotten_box.form_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
Rad 2 493: Rad 2 493:
 
|-
 
|-
 
|logoff.continue_href
 
|logoff.continue_href
|string
+
|[[#string|string]]
 
|Link presented to the user after logging off.
 
|Link presented to the user after logging off.
 
|N/A
 
|N/A
Rad 2 506: Rad 2 506:
 
|-
 
|-
 
|id
 
|id
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|name
 
|name
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|image
 
|image
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|address
 
|address
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|postcode
 
|postcode
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|postal_address
 
|postal_address
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|visitational_address
 
|visitational_address
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|country
 
|country
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|telephone1
 
|telephone1
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|telephone2
 
|telephone2
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|fax
 
|fax
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|email_address
 
|email_address
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|orgno
 
|orgno
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|vat
 
|vat
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|note
 
|note
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|plusgiro
 
|plusgiro
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|bankgiro
 
|bankgiro
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|contact
 
|contact
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|payment_conditions
 
|payment_conditions
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|customers_no
 
|customers_no
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|homepage
 
|homepage
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
 
|-
 
|-
 
|link
 
|link
|string
+
|[[#string|string]]
 
|N/A
 
|N/A
 
|N/A
 
|N/A
Rad 2 625: Rad 2 625:
 
|-
 
|-
 
|news_archive.news
 
|news_archive.news
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|News articles
 
|News articles
 
|
 
|
Rad 2 634: Rad 2 634:
 
|-
 
|-
 
|id
 
|id
|integer
+
|[[#integer|integer]]
 
|News article ID
 
|News article ID
 
|-
 
|-
 
|title
 
|title
|string
+
|[[#string|string]]
 
|News article title
 
|News article title
 
|-
 
|-
 
|date
 
|date
|string
+
|[[#string|string]]
 
|News article publishing date
 
|News article publishing date
 
|-
 
|-
 
|content
 
|content
|string
+
|[[#string|string]]
 
|News article content
 
|News article content
 
|}
 
|}
Rad 2 659: Rad 2 659:
 
|-
 
|-
 
|news.title
 
|news.title
|string
+
|[[#string|string]]
 
|News article title
 
|News article title
 
|N/A
 
|N/A
 
|-
 
|-
 
|news.date
 
|news.date
|string
+
|[[#string|string]]
 
|Date of publishing
 
|Date of publishing
 
|N/A
 
|N/A
 
|-
 
|-
 
|news.content
 
|news.content
|string
+
|[[#string|string]]
 
|News article content
 
|News article content
 
|N/A
 
|N/A
Rad 2 678: Rad 2 678:
 
!Variable name    !! Type !! Description !! Format
 
!Variable name    !! Type !! Description !! Format
 
|-
 
|-
| newsletter.text || HTML || The newsletter. ||N/A
+
| newsletter.text || [[#HTML|HTML]] || The newsletter. ||N/A
 
|}
 
|}
  
Rad 2 685: Rad 2 685:
 
!Variable name                !! Type    !! Description !! Format
 
!Variable name                !! Type    !! Description !! Format
 
|-
 
|-
| product.form_href || URL || Add to cart handler. || N/A
+
| product.form_href || [[#URL|URL]] || Add to cart handler. || N/A
 
|-
 
|-
| product.reviews_href || URL || Link to product reviews. || N/A
+
| product.reviews_href || [[#URL|URL]] || Link to product reviews. || N/A
 
|-
 
|-
| product.invalid_name || string || Invalid product name page title. || N/A
+
| product.invalid_name || [[#string|string]] || Invalid product name page title. || N/A
 
|-
 
|-
| product.invalid_text || string || Invalid product name page text. || N/A
+
| product.invalid_text || [[#string|string]] || Invalid product name page text. || N/A
 
|-
 
|-
| product.inactive_name || string || Inactive product name page title. || N/A
+
| product.inactive_name || [[#string|string]] || Inactive product name page title. || N/A
 
|-
 
|-
| product.inactive_text || string || Inactive product name page text. || N/A
+
| product.inactive_text || [[#string|string]] || Inactive product name page text. || N/A
 
|-
 
|-
 
|product.product_prev
 
|product.product_prev
 
product.product_next
 
product.product_next
|dictionary
+
|[[#dictionary|dictionary]]
 
|Previous and next products in the current category.
 
|Previous and next products in the current category.
 
|
 
|
Rad 2 707: Rad 2 707:
 
!Description
 
!Description
 
|-
 
|-
|id||integer||Product index.
+
|id||[[#integer|integer]]||Product index.
 
|-
 
|-
|image||URL||Product image.
+
|image||[[#URL|URL]]||Product image.
 
|-
 
|-
|name||string||Product name.
+
|name||[[#string|string]]||Product name.
 
|-
 
|-
|href||URL||Product link
+
|href||[[#URL|URL]]||Product link
 
|}
 
|}
 
|-
 
|-
| product.category_path || list of dictionaries || Information about the current category path.
+
| product.category_path || [[#list|list]] of [[#dictionary|dictionaries]] || Information about the current category path.
 
|
 
|
 
{| class="wikitable"
 
{| class="wikitable"
Rad 2 723: Rad 2 723:
 
!Description
 
!Description
 
|-
 
|-
|id||integer||Category index.
+
|id||[[#integer|integer]]||Category index.
 
|-
 
|-
|name||string||Category name.
+
|name||[[#string|string]]||Category name.
 
|-
 
|-
|image||URL||Category image.
+
|image||[[#URL|URL]]||Category image.
 
|-
 
|-
|seo_link||URL||Category link.
+
|seo_link||[[#URL|URL]]||Category link.
 
|}
 
|}
 
|-
 
|-
|product.product || dictionary || Product information
+
|product.product || [[#dictionary|dictionary]] || Product information
 
|  
 
|  
 
{| class="wikitable"
 
{| class="wikitable"
Rad 2 739: Rad 2 739:
 
!Description
 
!Description
 
|-
 
|-
|id || integer || Product index.
+
|id || [[#integer|integer]] || Product index.
 
|-
 
|-
|parent_id||integer||Parent product index.
+
|parent_id||[[#integer|integer]]||Parent product index.
 
|-
 
|-
|categories||list of lists of dictionaries||Information for all product categories.||See product.category_path.
+
|categories||[[#list|list]] of lists of [[#dictionary|dictionaries]]||Information for all product categories.||See product.category_path.
 
|-
 
|-
|tags||list of tags||Tags set for this product.
+
|tags||[[#list|list]] of [[#tag|tags]]||Tags set for this product.
 
|-
 
|-
|date_added||string||Date product was added.
+
|date_added||[[#string|string]]||Date product was added.
 
|-
 
|-
|date_available||string||Date product will be available.
+
|date_available||[[#string|string]]||Date product will be available.
 
|-
 
|-
|delivery_time||string||Product delivery time.
+
|delivery_time||[[#string|string]]||Product delivery time.
 
|-
 
|-
|description||HTML||Product description.
+
|description||[[#HTML|HTML]]||Product description.
 
|-
 
|-
|description_short||HTML||Short product description.
+
|description_short||[[#HTML|HTML]]||Short product description.
 
|-
 
|-
|disabled||boolean||Product disabled status.
+
|disabled||[[#boolean|boolean]]||Product disabled status.
 
|-
 
|-
|ean1||string||Product EAN.
+
|ean1||[[#string|string]]||Product EAN.
 
|-
 
|-
|external_url||URL||Product link.
+
|external_url||[[#URL|URL]]||Product link.
 
|-
 
|-
|extra1||HTML||Custom product field.
+
|extra1||[[#HTML|HTML]]||Custom product field.
 
|-
 
|-
|extra2||HTML||Custom product field.
+
|extra2||[[#HTML|HTML]]||Custom product field.
 
|-
 
|-
|extra3||HTML||Custom product field.
+
|extra3||[[#HTML|HTML]]||Custom product field.
 
|-
 
|-
|extra4||HTML||Custom product field.
+
|extra4||[[#HTML|HTML]]||Custom product field.
 
|-
 
|-
|extra5||HTML||Custom product field.
+
|extra5||[[#HTML|HTML]]||Custom product field.
 
|-
 
|-
|featured||boolean||Featured product.
+
|featured||[[#boolean|boolean]]||Featured product.
 
|-
 
|-
|file||URL||Product file 1.
+
|file||[[#URL|URL]]||Product file 1.
 
|-
 
|-
|file2||URL||Product file 2.
+
|file2||[[#URL|URL]]||Product file 2.
 
|-
 
|-
|full_products_id||integer||Requested product ID (including attributes).
+
|full_products_id||[[#integer|integer]]||Requested product ID (including attributes).
 
|-
 
|-
|image||URL||Product image.
+
|image||[[#URL|URL]]||Product image.
 
|-
 
|-
|image_href||URL||Link to full product image.
+
|image_href||[[#URL|URL]]||Link to full product image.
 
|-
 
|-
 
|additional_images||Additional product images.
 
|additional_images||Additional product images.
Rad 2 792: Rad 2 792:
 
!Description
 
!Description
 
|-
 
|-
|href||URL||Image thumbnail link.
+
|href||[[#URL|URL]]||Image thumbnail link.
 
|-
 
|-
|image||URL||Image path.
+
|image||[[#URL|URL]]||Image path.
 
|-
 
|-
|description||string||Image description.
+
|description||[[#string|string]]||Image description.
 
|}
 
|}
 
|-
 
|-
|last_modified||string||Product last modified date.
+
|last_modified||[[#string|string]]||Product last modified date.
 
|-
 
|-
|lowest_number||integer||Minimum required order size.
+
|lowest_number||[[#integer|integer]]||Minimum required order size.
 
|-
 
|-
|manufacturer_model||string||Product manufacturer model.
+
|manufacturer_model||[[#string|string]]||Product manufacturer model.
 
|-
 
|-
|model||string||Product model.
+
|model||[[#string|string]]||Product model.
 
|-
 
|-
|name||string||Product name.
+
|name||[[#string|string]]||Product name.
 
|-
 
|-
|next_delivery_date||string||Next delivery date.
+
|next_delivery_date||[[#string|string]]||Next delivery date.
 
|-
 
|-
|next_delivery_quantity||string||Next delivery quantity.
+
|next_delivery_quantity||[[#string|string]]||Next delivery quantity.
 
|-
 
|-
|tax||decimal||Product tax rate.
+
|tax||[[#decimal|decimal]]||Product tax rate.
 
|-
 
|-
|price||string||Product price.
+
|price||[[#string|string]]||Product price.
 
|-
 
|-
|price_rek||string||Recommended product price.
+
|price_rek||[[#string|string]]||Recommended product price.
 
|-
 
|-
|price_special||string||Special product price.
+
|price_special||[[#string|string]]||Special product price.
 
|-
 
|-
|rating||decimal||Average review rating in increments of 0.5.
+
|rating||[[#decimal|decimal]]||Average review rating in increments of 0.5.
 
|-
 
|-
|seo_link||URL||Product link.
+
|seo_link||[[#URL|URL]]||Product link.
 
|-
 
|-
|stock||integer||Products in stock.
+
|stock||[[#integer|integer]]||Products in stock.
 
|-
 
|-
|type||string||Product quantity type.
+
|type||[[#string|string]]||Product quantity type.
 
|-
 
|-
|weight||string||Product weight.
+
|weight||[[#string|string]]||Product weight.
 
|-
 
|-
|reorder_stock||string||
+
|reorder_stock||[[#string|string]]||
 
|-
 
|-
|stock_place||string||Product location.
+
|stock_place||[[#string|string]]||Product location.
 
|-
 
|-
|viewed||integer||Product view count.
+
|viewed||[[#integer|integer]]||Product view count.
 
|-
 
|-
|ordered||integer||Product order count.
+
|ordered||[[#integer|integer]]||Product order count.
 
|-
 
|-
|note||string||Product note.
+
|note||[[#string|string]]||Product note.
 
|-
 
|-
|lead_time||string||
+
|lead_time||[[#string|string]]||
 
|-
 
|-
|price_in||string||
+
|price_in||[[#string|string]]||
 
|-
 
|-
|price_rek||string||
+
|price_rek||[[#string|string]]||
 
|-
 
|-
 
|shipping_class||int||Product shipping class. 1-10
 
|shipping_class||int||Product shipping class. 1-10
Rad 2 851: Rad 2 851:
 
|}
 
|}
 
|-
 
|-
|product.manufacturer || dictionary || Product manufacturer information
+
|product.manufacturer || [[#dictionary|dictionary]] || Product manufacturer information
 
|  
 
|  
 
{| class="wikitable"
 
{| class="wikitable"
Rad 2 858: Rad 2 858:
 
!Description
 
!Description
 
|-
 
|-
|name||string||Manufacturer name.
+
|name||[[#string|string]]||Manufacturer name.
 
|-
 
|-
|href||URL||Manufacturer URL.
+
|href||[[#URL|URL]]||Manufacturer URL.
 
|-
 
|-
|image||URL||Manufacturer image.
+
|image||[[#URL|URL]]||Manufacturer image.
 
|-
 
|-
|address||string||
+
|address||[[#string|string]]||
 
|-
 
|-
|postcode||string||
+
|postcode||[[#string|string]]||
 
|-
 
|-
|postal_address||string||
+
|postal_address||[[#string|string]]||
 
|-
 
|-
|visitational_address||string||
+
|visitational_address||[[#string|string]]||
 
|-
 
|-
|country||string||
+
|country||[[#string|string]]||
 
|-
 
|-
|telephone1||string||
+
|telephone1||[[#string|string]]||
 
|-
 
|-
|telephone2||string||
+
|telephone2||[[#string|string]]||
 
|-
 
|-
|fax||string||
+
|fax||[[#string|string]]||
 
|-
 
|-
|email_address||string||Manufacturer email address.
+
|email_address||[[#string|string]]||Manufacturer email address.
 
|-
 
|-
|orgno||string||
+
|orgno||[[#string|string]]||
 
|-
 
|-
|vat||string||
+
|vat||[[#string|string]]||
 
|-
 
|-
|note||string||Manufacturer note.
+
|note||[[#string|string]]||Manufacturer note.
 
|-
 
|-
|plusgiro||string||
+
|plusgiro||[[#string|string]]||
 
|-
 
|-
|bankgiro||string||
+
|bankgiro||[[#string|string]]||
 
|-
 
|-
|contact||string||
+
|contact||[[#string|string]]||
 
|-
 
|-
|payment_conditions||string||
+
|payment_conditions||[[#string|string]]||
 
|-
 
|-
|customers_no||string||
+
|customers_no||[[#string|string]]||
 
|-
 
|-
 
|}
 
|}
Rad 2 905: Rad 2 905:
 
!Variable name                !! Type    !! Description !! Format
 
!Variable name                !! Type    !! Description !! Format
 
|-
 
|-
| product_added.checkout_href || URL    || A link to the checkout page. || N/A
+
| product_added.checkout_href || [[#URL|URL]]     || A link to the checkout page. || N/A
 
|-
 
|-
 
| product_added.product      || product || The product added.
 
| product_added.product      || product || The product added.
Rad 2 915: Rad 2 915:
 
|-
 
|-
 
|quantity_added
 
|quantity_added
|integer
+
|[[#integer|integer]]
 
|The quantity of the product added to the shopping cart
 
|The quantity of the product added to the shopping cart
 
|}
 
|}
Rad 2 928: Rad 2 928:
 
|-
 
|-
 
|products_new.pagination
 
|products_new.pagination
|pagination
+
|[[#pagination|pagination]]
 
|Pagination info
 
|Pagination info
 
|N/A
 
|N/A
 
|-
 
|-
 
|products_new.page_href_format
 
|products_new.page_href_format
|URL
+
|[[#URL|URL]]
 
|Pagination link format
 
|Pagination link format
 
|N/A
 
|N/A
Rad 2 940: Rad 2 940:
 
|products
 
|products
 
|A list of recently added products.
 
|A list of recently added products.
|list of products
+
|[[#list|list]] of products
 
|}
 
|}
  
Rad 2 947: Rad 2 947:
 
!Variable name                    !! Type                !! Description !! Format
 
!Variable name                    !! Type                !! Description !! Format
 
|-
 
|-
| product_reviews.back_href        || URL                  || Link to the product page. || N/A
+
| product_reviews.back_href        || [[#URL|URL]]                 || Link to the product page. || N/A
 
|-
 
|-
| product_reviews.write_href      || URL                  || Link to the write review page. || N/A
+
| product_reviews.write_href      || [[#URL|URL]]                 || Link to the write review page. || N/A
 
|-
 
|-
 
| product_reviews.product          || product              || The product. || N/A
 
| product_reviews.product          || product              || The product. || N/A
 
|-
 
|-
| product_reviews.pagination      || pagination          || Pagination object for the reviews. || N/A
+
| product_reviews.pagination      || [[#pagination|pagination]]           || Pagination object for the reviews. || N/A
 
|-
 
|-
| product_reviews.page_href_format || URL                  || Page format for the pagination. || N/A
+
| product_reviews.page_href_format || [[#URL|URL]]                 || Page format for the pagination. || N/A
 
|-
 
|-
| product_reviews.reviews          || list of dictionaries || The displayed reviews.
+
| product_reviews.reviews          || [[#list|list]] of [[#dictionary|dictionaries]] || The displayed reviews.
 
|
 
|
 
{| class="wikitable"
 
{| class="wikitable"
 
!Key !! Type !! Description
 
!Key !! Type !! Description
 
|-
 
|-
|href      || URL    || Link to the review page
+
|href      || [[#URL|URL]]     || Link to the review page
 
|-
 
|-
|author    || string  || Author of the review
+
|author    || [[#string|string]] || Author of the review
 
|-
 
|-
|date      || string  || The date the review was written
+
|date      || [[#string|string]] || The date the review was written
 
|-
 
|-
|text      || string  || The first 100 characters of the review text, lines broken at every 40 characters
+
|text      || [[#string|string]] || The first 100 characters of the review text, lines broken at every 40 characters
 
|-
 
|-
|full_text || string  || The first 100 characters of the review text
+
|full_text || [[#string|string]] || The first 100 characters of the review text
 
|-
 
|-
|rating    || integer || Review rating, 1-5.
+
|rating    || [[#integer|integer]] || Review rating, 1-5.
 
|}
 
|}
 
|}
 
|}
Rad 2 980: Rad 2 980:
 
!Variable name                    !! Type      !! Description !! Format
 
!Variable name                    !! Type      !! Description !! Format
 
|-
 
|-
| product_reviews_info.back_href  || URL        || Link to the product reviews page. || N/A
+
| product_reviews_info.back_href  || [[#URL|URL]]       || Link to the product reviews page. || N/A
 
|-
 
|-
| product_reviews_info.write_href || URL        || Link to the write review page. || N/A
+
| product_reviews_info.write_href || [[#URL|URL]]       || Link to the write review page. || N/A
 
|-
 
|-
 
| product_reviews_info.product    || product    || The product. || N/A
 
| product_reviews_info.product    || product    || The product. || N/A
 
|-
 
|-
| product_reviews_info.review    || dictionary || The displayed review.
+
| product_reviews_info.review    || [[#dictionary|dictionary]] || The displayed review.
 
|
 
|
 
{| class="wikitable"
 
{| class="wikitable"
 
!Key !! Type !! Description
 
!Key !! Type !! Description
 
|-
 
|-
|author    || string  || Author of the review
+
|author    || [[#string|string]] || Author of the review
 
|-
 
|-
|date      || string  || The date the review was written
+
|date      || [[#string|string]] || The date the review was written
 
|-
 
|-
|text      || string  || The review text, lines broken at every 60 characters
+
|text      || [[#string|string]] || The review text, lines broken at every 60 characters
 
|-
 
|-
|rating    || integer || Review rating, 1-5.
+
|rating    || [[#integer|integer]] || Review rating, 1-5.
 
|}
 
|}
 
|}
 
|}
Rad 3 005: Rad 3 005:
 
!Variable name                    !! Type      !! Description !! Format
 
!Variable name                    !! Type      !! Description !! Format
 
|-
 
|-
| product_reviews_write.form_href  || URL        || Form handler. || N/A
+
| product_reviews_write.form_href  || [[#URL|URL]]       || Form handler. || N/A
 
|-
 
|-
| product_reviews_write.back_href  || URL        || Link to the product reviews page. || N/A
+
| product_reviews_write.back_href  || [[#URL|URL]]       || Link to the product reviews page. || N/A
 
|-
 
|-
 
| product_reviews_write.product    || product    || The product. || N/A
 
| product_reviews_write.product    || product    || The product. || N/A
 
|-
 
|-
| product_reviews_write.customer  || dictionary || Customer information.
+
| product_reviews_write.customer  || [[#dictionary|dictionary]] || Customer information.
 
|
 
|
 
{| class="wikitable"
 
{| class="wikitable"
 
!Key !! Type !! Description
 
!Key !! Type !! Description
 
|-
 
|-
|firstname || string || First name of the customer writing the review.
+
|firstname || [[#string|string]] || First name of the customer writing the review.
 
|-
 
|-
|lastname  || string || Last name of the customer writing the review.
+
|lastname  || [[#string|string]] || Last name of the customer writing the review.
 
|}
 
|}
 
|}
 
|}
Rad 3 030: Rad 3 030:
 
|-
 
|-
 
|question_about_product.form_action
 
|question_about_product.form_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
 
|-
 
|-
 
|question_about_product.back_href
 
|question_about_product.back_href
|URL
+
|[[#URL|URL]]
 
|Link back to the product page
 
|Link back to the product page
 
|N/A
 
|N/A
Rad 3 053: Rad 3 053:
 
|-
 
|-
 
|reviews.pagination
 
|reviews.pagination
|pagination
+
|[[#pagination|pagination]]
 
|Pagination info
 
|Pagination info
 
|N/A
 
|N/A
 
|-
 
|-
 
|reviews.page_href_format
 
|reviews.page_href_format
|URL
+
|[[#URL|URL]]
 
|Pagination link format
 
|Pagination link format
 
|N/A
 
|N/A
 
|-
 
|-
 
|reviews.reviews
 
|reviews.reviews
|list of dictionaries
+
|[[#list|list]] of [[#dictionary|dictionaries]]
 
|Product reviews
 
|Product reviews
 
|
 
|
Rad 3 072: Rad 3 072:
 
|-
 
|-
 
|href
 
|href
|URL
+
|[[#URL|URL]]
 
|A link to the review page
 
|A link to the review page
 
|-
 
|-
 
|product
 
|product
|string
+
|[[#string|string]]
 
|Product name
 
|Product name
 
|-
 
|-
 
|author
 
|author
|string
+
|[[#string|string]]
 
|Review author
 
|Review author
 
|-
 
|-
 
|date
 
|date
|string
+
|[[#string|string]]
 
|Review date
 
|Review date
 
|-
 
|-
 
|image
 
|image
|string
+
|[[#string|string]]
 
|Product image
 
|Product image
 
|-
 
|-
 
|text
 
|text
|HTML
+
|[[#HTML|HTML]]
 
|Abbreviated review text
 
|Abbreviated review text
 
|-
 
|-
 
|full_text
 
|full_text
|string
+
|[[#string|string]]
 
|Unabbreviated review text
 
|Unabbreviated review text
 
|-
 
|-
 
|rating
 
|rating
|HTML
+
|[[#HTML|HTML]]
 
|Product rating
 
|Product rating
 
|}
 
|}
Rad 3 166: Rad 3 166:
 
|-
 
|-
 
|specials.pagination
 
|specials.pagination
|pagination
+
|[[#pagination|pagination]]
 
|Pagination info
 
|Pagination info
 
|N/A
 
|N/A
 
|-
 
|-
 
|specials.page_href_format
 
|specials.page_href_format
|URL
+
|[[#URL|URL]]
 
|Pagination link format
 
|Pagination link format
 
|N/A
 
|N/A
Rad 3 178: Rad 3 178:
 
|products
 
|products
 
|A list of products with special prices.
 
|A list of products with special prices.
|list of products
+
|[[#list|list]] of products
 
|}
 
|}
  
Rad 3 189: Rad 3 189:
 
|-
 
|-
 
|tell_a_friend.form_action
 
|tell_a_friend.form_action
|URL
+
|[[#URL|URL]]
 
|A link to the page which handles the form
 
|A link to the page which handles the form
 
|N/A
 
|N/A
 
|-
 
|-
 
|tell_a_friend.back_href
 
|tell_a_friend.back_href
|URL
+
|[[#URL|URL]]
 
|Link back to the product page
 
|Link back to the product page
 
|N/A
 
|N/A
Rad 3 206: Rad 3 206:
 
==Operators==
 
==Operators==
 
===String matching===
 
===String matching===
'=~' matches a string against a [http://www.php.net/manual/en/reference.pcre.pattern.syntax.php regular expression]. Example:
+
'=~' matches a [[#string|string]] against a [http://www.php.net/manual/en/reference.pcre.pattern.syntax.php regular expression]. Example:
 
  var =~ '//'
 
  var =~ '//'
  
 
[[Category:Templating]]
 
[[Category:Templating]]

Versionen från 12 november 2012 kl. 16.31

See also Templating:Emails.

Innehåll

Variables

Templates get variables containing all necessary data passed from the back end. This is a complete reference of all available variables.

Types

string

URL

HTML

The raw filter should be applied when displaying these variables.

integer

decimal

boolean

list

dictionary

pagination

Key Type Description
page integer The current page.
prev integer The previous page.
next integer The next page.
pages list of integers The pages in the current set.
set_prev integer The last page in the previous set of pages.
set_next integer The first page in the next set of pages.
from_row integer The first row displayed.
to_row integer The last row displayed.
row_count integer The number of rows paginated.

product

Key Type Description
id string Products internal ID
delivery_time string
description HTML
description_short HTML
href_buy URL
href URL
image URL
manufacturer_image URL
manufacturer_name string
model string
name string
price_discount_percentage HTML
price HTML
price_recommended HTML
price_special HTML
quantity integer
seo_link string
tax decimal Product tax rate.
tax_class_id integer
parent_id integer The products parent
child_count integer Counts amount of child products
rating decimal Average review rating in increments of 0.5.
price_per_unit decimal Product price per unit
unit string Product unit. ex. st/cm/m
price_per_unit_recommended decimal Recommended price in unit
price_per_unit_special decimal Special price in unit
price_klarna_account decimal Klarna account price
tags list of tags

tag

Key Type Description
id integer ID.
parent_id integer Parent ID, 0 when there is no parent tag.
name string Name.
description HTML Description.
image URL Image URL.
meta_title HTML Meta title.
meta_keywords HTML Meta keywords.
meta_description HTML Meta description.
children list of tags Child tags.
used boolean Indicates if the tag is used by any product in a category listing.

Globals

Globals are accessible anywhere in the templates, including macros.

Variable name Type Description Format
template string Path to active template directory N/A
current_page string Contains URL after domain name and before ?, for example storedomain.com/p/digital-fotoram/nextbase-photomil-8wi-fi-fotoram.html?vat_disp=0 returns /p/digital-fotoram/nextbase-photomil-8wi-fi-fotoram.html N/A
current_script string Contains filename of current page index.php
request dictionary A dictionary of recieved GET and POST data
Key Type Description
get dictionary Data received from the GET query string
post dictionary Received POST data
current_customer_id integer Returns customer ID if customer is logged in, else None N/A
customer dictionary Contains information about the logged in customer, or null.
Key Type Description
id integer
email string
personnummer string
first_name string
last_name string
company string
telephone string
mobile string
country_id integer
postcode string
street_address string
meta dictionary Header meta information for current page.
Key Type Description
title HTML Page title.
keywords string Page meta keywords.
description HTML Page meta description.
language string Page language code.
generator string Startabutik E-handel.
canonical URL Canonical URL for current page. Not always available.
settings dictionary Contains some of the settings defined in the administration
Key Type Description
ACCOUNT_COMPANY, ACCOUNT_DOB, ACCOUNT_GENDER, ACCOUNT_PERSONNUMMER, ACCOUNT_STATE, ACCOUNT_SUBURB boolean Account fields can be enabled and disabled
API_ID_FACEBOOK string General APP id for Facebook
API_ID_GOOGLE_VERIFICATION string Google verification
CHARSET string Charset of page.
CREATE_ACCOUNT_LAYOUT integer Internal
DOWNLOAD_ENABLED boolean Is the download module enabled
ENTRY_CITY_MIN_LENGTH, ENTRY_DOB_MIN_LENGTH, ENTRY_EMAIL_ADDRESS_MIN_LENGTH, ENTRY_FIRST_NAME_MIN_LENGTH, ENTRY_LAST_NAME_MIN_LENGTH, ENTRY_PASSWORD_MIN_LENGTH, ENTRY_POSTCODE_MIN_LENGTH, ENTRY_STATE_MIN_LENGTH, ENTRY_STREET_ADDRESS_MIN_LENGTH, ENTRY_TELEPHONE_MIN_LENGTH integer Used in form validation
ENTRY_PASSWORD_IN_REGISTRATION boolean Is the user allowed to specify a password when registering
FORMS_USE_CAPTCHA boolean Is captcha used for forms
FACEBOOK_PROFILE_URL string URL in format http://url.se/subfolder/
GOOGLEPLUS_PROFILE_URL string URL in format http://url.se/subfolder/
HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT integer Width and height of heading images
MAX_ADDRESS_BOOK_ENTRIES integer Maximum entries in the address book
PREV_NEXT_BAR_LOCATION integer Internal
SMALL_IMAGE_WIDTH integer Width of small thumbnails in pixels
SMALL_IMAGE_HEIGHT integer Height of small thumbnails in pixels
STATISTICS_GOOGLE_ANALYTICS string Google analytics tracking code, if specified
SHOP_HEADER_TEXT string Alt text for logo
SHOP_LOGO string Shop logo in /images/
STORE_NAME string
PRODUCT_PAGE_DESIGN integer Internal
YOUTUBE_PROFILE_URL string URL in format http://url.se/subfolder/
TWITTER_PROFILE_URL string URL in format http://url.se/subfolder/
shoppingcart_amount string Amount of products in shopping cart N/A
shoppingcart_total string Total sum of the content in shopping cart N/A
random_box_left string Shows boxes at the left side of the store N/A
random_box_right string Shows boxes at the right side of the store N/A

Boxes

Boxes are variables used for the side boxes. They are all prefixed with boxes.

Category menu

Variable name Type Description Format
boxes.categories.tree list of dictionaries Contains a tree of displayed categories in menu
Key Type Description
id integer Id of category
name string Name of category in current language
image string Path to category image if such exists
href string Link to category's product listing page
child_count integer Number of open child categories
children list of dictionaries List of visible child categories. See boxes.categories.tree for format
open boolean Returns true if the category (or one of its children) is the currently selected one
selected boolean Returns true if the category is the currently selected one

Category full menu

Variable name Type Description Format
boxes.categories_full.tree list of dictionaries Contains a full tree of all available categories in menu
Key Type Description
id integer Id of category
name string Name of category in current language
image string Path to category image if such exists
href string Link to category's product listing page
child_count integer Number of open child categories
children list of dictionaries List of visible child categories. See boxes.categories.tree for format
open boolean Returns true if the category (or one of its children) is the currently selected one
selected boolean Returns true if the category is the currently selected one

Manufacturer select

Variable name Type Description Format
boxes.manufacturers.list list of dictionaries Lists all available manufacturers
Key Type Description
id integer Manufacturer ID.
name string Name of manufacturer
href string Link to manufacturer page
selected boolean True if the manufacturer_id GET variable is equal to the ID of this manufacturer.

Search box

Variable name Type Description Format
boxes.search.advanced_href string URL to advanced search page N/A
boxes.search.advanced_result_href string Action URL for search form N/A

Information page list

Variable name Type Description Format
boxes.information_pages.list list of dictionaries Lists all active information pages
Key Type Description
name string Name of information page
href string Link to information page
active boolean Is user currently on this page?
target boolean True if information page expects the attribute target="_blank"

Language list

Variable name Type Description Format
boxes.languages.list list of dictionaries Lists all languages
Key Type Description
name string Language name
href string Link to page that sets language to this one
image string Image (flag) for language if available

Login box

Variable name Type Description Format
boxes.login.form_href string Action link for login form N/A
boxes.login.password_forgotten_href string Link to retrieve forgotten password page N/A
boxes.login.account_history_href string Link to current customer's account history page. Contains orders and such N/A
boxes.login.account_href string Link to current customer's account page N/A
boxes.login.account_password_href string Unknown N/A
boxes.login.logoff_href string Link to log off current customer N/A
boxes.login.customer_first_name string Current customer's first name N/A
boxes.login.customer_last_name string Current customer's last name N/A

New products list

Lists the most recently added products.

Variable name Type Description
boxes.products_new.list list of product The most recently added products, the most recent first.

News list

Variable name Type Description Format
boxes.news.list list of dictionaries Lists recent news. Limit set in administration
Key Type Description
name string News name
href string Link to news page
summary string News summary

Review

Variable name Type Description Format
boxes.reviews.write_review_href string Link to write review page. Only set if customer is viewing a product page N/A
boxes.reviews.product dictionary Product and review data
Key Type Description
product_name string Name of product
product_image string Link to product image
review_href string Link to full review
review_rating string Rating
review_text string Text of review

Shopping cart

Variable name Type Description Format
boxes.shopping_cart.list list of dictionaries List of products in shopping cart
Key Type Description
id integer ID of product
model string Model number for product
name string Name of product
image string Link to image of product
quantity string Number of this product in shopping cart
price string Price per product before discounts represented as a string with currency symbol
final_price string Price per product after discounts represented as a string with currency symbol
total_price string Total price for all products of this kind before discounts represented as a string with currency symbol
total_final_price string Total price for all products of this kind after discounts represented as a string with currency symbol
href string Link to product's page
new boolean True if product was just added to the shopping cart
boxes.shopping_cart.total string Total value of contents of shopping cart represented as a string with currency symbol N/A

Random special offer

Contains a random special offer.

Variable name Type Description Format
boxes.special_offers.product dictionary True if prices are displayed including VAT, else false.
Key Type Description
name string Name of product
href string Link to product page
image string Link to product image
price string Product standard price represented with currency symbol
special_price string Product price after discounts represented with currency symbol

VAT select box

Variable name Type Description Format
boxes.vat_select.display_with_vat boolean True if prices are displayed including VAT, else false. N/A
boxes.vat_select.with_href string URL to page where VAT display is set to true. N/A
boxes.vat_select.without_href string URL to page where VAT display is set to false. N/A

Custom boxes

Variable name Type Description Format
boxes.custom.boxes dictionary of lists Dictionary of boxes, indexed by the box name.
Key Type Description
type integer Type of box.
class string CSS classes

If type is 0:

Key Type Description
title string Box title.
product product Product displayed.

If type is 1:

Key Type Description
text HTML Box contents.

If type is 2:

Key Type Description
image URL Box image.

Modules

product_parent

Variable name Type Description Format
modules.product_parent.name string Parent product name. N/A
modules.product_parent.description string Parent product description. N/A
modules.product_parent.image string Parent product image. N/A
modules.product_parent.images string Parent product additional images. N/A

associated_products.html

Variable name Type Description Format
modules.associated_products.products list of products Associated products. N/A

product_attributes.html

Variable name Type Description Format
modules.product_attributes.attributes list of dictionaries Product attributes.
Key Type Description
value string Attribute value.
id integer Attribute index.
name string Attribute name.
type integer Attribute type.
selected integer Selected attribute.
options list of index to value mappings Attribute options.

product_specifications.html

Variable name Type Description Format
modules.product_specifications.grouped list of categories Specifications with multiple values per specification grouped into a values variable.
modules.product_specifications.hierarchy list of categories The hierarchy of specifications used for this product.
modules.product_specifications.specifications list of dictionaries Product specifications.
Key Type Description
name string Specification name.
value string Specification value.

products_in_package.html

Variable name Type Description Format
modules.products_in_package.products list of products Products in product package. N/A

products_reviews.html

Variable name Type Description Format
modules.products_reviews.captcha_href URL Link to the captcha image. N/A
modules.products_reviews.error string Error message. N/A
modules.products_reviews.customer dictionary Customer information.
Key Type Description
firstname string First name.
lastname string Last name.
modules.products_reviews.reviews list of dictionaries Product reviews.
Key Type Description
rating integer Review rating, 1-5.
author string Review author.
date string Review date.
text HTML Review text.

products_variants.html

Variable name Type Description Format
modules.products_variants.category integer Category index. N/A
modules.products_variants.variants list of dictionaries Variants.
Key Type Description
name string Variant name
selected integer Selected variant.
options list of integer to value mappings Variants.
modules.products_variants.products list of dictionaries Variants.
Key Type Description
seo_link URL Variant URL.
name string Variant name.
modules.products_variants.combinations list of lists of integers Available combinations of options. N/A
modules.products_variants.combination list of integers Currently selected combination. N/A

tell_a_friend.html

Variable name Type Description Format
modules.tell_a_friend.form_action URL Form handler. N/A

Page specific

Most variables are not available on a global scale. They are page specific variables. They are always prefixed with the same name as the included template. So contact.html variables are prefixed with contact.

Account edit page (account_edit.html)

Variable name Type Description Format
account_edit.form_action URL A link to the page which handles the form N/A
account_edit.back_href URL A link back to the account page N/A
account_edit.account dictionary Account data
Key Type Description
firstname string Account first name
lastname string Account last name
personnummer string Account personnummer
dob string Account date of birth
email_address string Account email address
telephone string Account telephone number
mobile string Account mobile telephone number
fax string Account fax number
gender string Account gender ('m' or 'f')

Account history page (account_history.html)

Variable name Type Description Format
account_history.account_href URL A link back to the account page N/A
account_history.pagination pagination Pagination info N/A
account_history.page_href_format URL Pagination link format N/A
account_history.order_history list of dictionaries Order history
Key Type Description
id integer Order ID
status string Order status
date string Order date
type string Order type
name string Order delivery name
product_count integer Product count
total string Order total
href URL A link to the description of the order

Order info page (account_history_info.html)

Variable name Type Description Format
account_history_info.back_href URL Link back to the account order history N/A
account_history_info.order dictionary Order info
Key Type Description
id_formatted string Order ID
status string Order status
date string Order date
total string Order total
shipping_method string Order shipping method
payment_method string Order payment method
tax_group_count integer Number of different tax groups
billing_address string Order billing address
delivery_address string Order delivery address
delivery boolean
products list of dictionaries Products in order
Key Type Description
qty integer Product quantity
id integer Product ID
name string Product name
model string Product model
tax decimal Product tax
price decimal Product price
final_price decimal Final product price
image string Address to image
href string Link address to product
status string Products status. 0 = inactive, 1 = active
totals list of dictionaries Order parts of total
Key Type Description
title string Total part label
text HTML Total part value
statuses list of dictionaries Order statuses
Key Type Description
name string Status name
date string Status date
comments string Status comments
events list of dictionaries Order delivery events
Key Type Description
date string Event date
location string Event location
description string Event description

Account page (account.html)

Variable name Type Description Format
account.account_history_href URL A link to the account history page N/A
account.account_edit_href URL A link to the edit account page N/A
account.address_book_href URL A link to the address book page N/A
account.account_password_href URL A link to the password change page N/A
account.logoff_href URL A link to the logoff page N/A
account.account_newsletters_href URL A link to the newsletters page N/A
account.account_notifications_href URL A link to the notifications page N/A
account.order_history_enabled boolean Is the order history enabled? N/A
account.order_history list of dictionaries Order history
Key Type Description
href URL A link to the order description page
date string The date the order was placed
id integer Order ID
country string Order delivery name and country
status string Order status
total HTML Order total

Account newsletter subscription page (account_newsletters.html)

Variable name Type Description Format
account_newsletters.form_action URL A link to the page which handles the form N/A
account_newsletters.back_href URL Link back to the account page N/A
account_newsletters.subscribed boolean Is the user subscribed to the newsletter N/A

Account notifications page (account_notifications.html)

Variable name Type Description Format
account_notifications.form_action URL A link to the page which handles the form N/A
account_notifications.account_href URL A link back to the account page N/A
account_notifications.products list of dictionaries The products subscribed to
Key Type Description
id integer Product ID
name string Product name
counter integer List index
account_notifications.global_product_notifications boolean Has the user enabled the global product notification setting N/A

Change account password page (account_password.html)

Variable name Type Description Format
account_password.form_action URL A link to the page which handles the form N/A
account_password.back_href URL Link back to the account page N/A

New account password page (account_password_new.html)

Variable name Type Description Format
account_password_new.form_action URL A link to the page which handles the form N/A
account_password_new.back_href URL Link back to the account page N/A
account_password_new.password_provided boolean Is a password provided by the user, or the default password N/A

Address book page (address_book.html)

Variable name Type Description Format
address_book.back_href URL A link back to the account page N/A
address_book.add_href URL A link to a form which adds a new entry to the address book N/A
address_book.entries_count integer Number of entries N/A
address_book.address_label HTML Address label N/A
address_book.addresses list of dictionaries The addresses in the address book
Key Type Description
default boolean Is this the default address book entry
edit_href URL A link to edit the entry
delete_href URL A link to delete the entry
name string Associated name
address HTML The address

Address book modification page (address_book_process.html)

Variable name Type Description Format
address_book_process.editing boolean Is the page in the editing mode? N/A
address_book_process.deleting boolean Is the page in the deletion mode? N/A
address_book_process.edit_form_action URL A link to a page which handles the editing form N/A
address_book_process.delete_form_action URL A link to a page which handles the deletion form N/A
address_book_process.address_label HTML The address N/A
address_book_process.back_href URL A back link N/A
address_book_process.address_book_href URL A link to the address_book N/A
address_book_process.process boolean Is the page in the processing mode? N/A
address_book_process.default_address boolean Is this the default address? N/A
address_book_process.entry dictionary The fields in the current entry
Key Type Description
male boolean Male gender?
firstname string First name
lastname string Last name
company string Company
street_address string Street address
suburb string Suburb
postcode string Post code
city string City
country_list HTML A drop-down list with countries
state_has_zones boolean Does the state have zones?
state string State
states association list A list of zones in the state

Advanced search page (advanced_search.html)

Variable name Type Description Format
advanced_search.form_action string A link to the page which handles the form. N/A
advanced_search.categories association list A list of category names mapped to their indices. dictionary of string to integer mappings.
advanced_search.manufacturers association list A list of manufacturer names mapped to their indices. dictionary of string to integer mappings.

Search results page (advanced_search_results.html)

Variable name Type Description Format
advanced_search_results.results list of products The search results. N/A
advanced_search_results.num_results integer The number of search results. N/A
advanced_search_results.back_href URL A link for returning to the search page. N/A

Campaign page (campaign.html)

Variable name Type Description Format
campaign.campaign_name HTML Title of campaign. N/A
campaign.campaign_description HTML Description of campaign. N/A
campaign.campaign_image URL Selected campaign image. N/A
campaign.products list of products Products included in campaign. N/A

Product list (categories_listing.html)

Variable name Type Description Format
categories_listing.header dictionary Attributes for the top of the page. It is either a manufacturer or a category
Key Type Description
name string Name of category/manufacturer
alternative_name string An alternative category name. (SEO name.)
image string Image URL for category/manufacturer
text HTML Description of category/manufacturer
alternative_text HTML An alternative category description. (SEO text.)
categories_listing.header dictionary Page header attributes: image, description and title
categories_listing.page_limit integer Maximum number of products per page N/A
categories_listing.page_limits list of integers List of available page limits. 0 means all product on one page N/A
categories_listing.page_index integer Current page number N/A
categories_listing.page_count integer Number of pages N/A
categories_listing.cpath list of integers List of category IDs, where the last one is the current category, the second last the current category's parent and so on. The first element is the top level category. N/A
categories_listing.product_list list of dictionaries All products for current page Product list
categories_listing.product_count integer Total number of products using current filters N/A
categories_listing.sort_options dictionary Total number of products using current filters Identifier (model, price, etc) as key and name (Model, Price, etc) as values
categories_listing.sort_form_href string Link to the same page. N/A
categories_listing.sort_name_href string Link to the same page when sorting by name. If already sorting by name, this URL inverts the order N/A
categories_listing.sort_model_href string Link to the same page when sorting by model. If already sorting by model, this URL inverts the order N/A
categories_listing.sort_price_href string Link to the same page when sorting by price. If already sorting by price, this URL inverts the order N/A
categories_listing.pagination_uri_format string Format string for pagination. It contains a %d that the pagination macro replaces by page number N/A
categories_listing.default_list_style integer By default this layout for the listing is selected N/A
categories_listing.tags list of tags Root tags for which at least one subtag is used by one of the listed products. N/A
categories_listing.used_tag_ids list of integers The tags used by at least one product in the filtered set of products. N/A
categories_listing.manufacturers list of dictionaries Manufacturers used by products in current category tree.
Key Type Description
id string Manufacturer ID.
name string Manufacturer name.
image URL Manufacturer image.

Checkout success (checkout_success.html)

Variable name Type Description Format
checkout_success.update_action URL A link to the page which handles the form N/A
checkout_success.heading string Page heading N/A
checkout_success.text HTML Page content N/A
checkout_success.order_id integer Order ID N/A
checkout_success.survey_questions list of dictionaries Survey questions
Key Type Description
id integer Question ID
question string Question
alternatives list of dictionaries Question alternatives
Key Type Description
type integer Alternative type, 1 for a radio button, an input field otherwise
id integer Alternative ID
answer string Alternative text

Contact us page (contact.html)

Variable name Type Description Format
contact.form_href string URL with target of form for handling user input data N/A
contact.captcha boolean Determines whether Captcha should be used or not N/A
contact.name String Contains customer name if customer is logged in or validation if validation of a field failed N/A
contact.email string Contains customer e-mail if customer is logged in or validation if validation of a field failed N/A
contact.heading string Contains heading text N/A
contact.text string Contains a descriptive text of what the contact us page is. It most certainly contains HTML so the raw filter may be appropriate to use N/A

Cookie usage page (cookie_usage.html)

Variable name Type Description Format
cookie_usage.continue_href string A link to the next page (index.php) N/A

Gallery pages (gallery.html, galleries/)

Variable name Type Description Format
gallery.title string Gallery title. N/A
gallery.description string Gallery description or content. N/A
gallery.date string Last modification date. N/A
gallery.type string Type of gallery. N/A
gallery.upload_data_action URL Form action for uploading. N/A
gallery.upload_data_check boolean True. N/A
gallery.upload_data_type HTML Form field. N/A
gallery.page_title string Edited page title. N/A
gallery.page_description HTML Edited page description. N/A
gallery.meta_title N/A
gallery.meta_description N/A
gallery.meta_keywords N/A
gallery.form_page_description string Edited page description, escaped. N/A
gallery.gallery_owned boolean Set if the gallery is owned by the logged-in user. N/A
gallery.edit_content_link URL Link for editing the gallery. N/A
gallery.remove_content_link URL Link for removing the gallery. N/A
gallery.edit_mode boolean Set when editing, otherwise adding. N/A
gallery.gallery_fields list of dictionaries Gallery fields.
Key Type Description
label string Field label.
output HTML Form field.
gallery.children list of string to dictionary mappings Child galleries indexed by gallery type.
Key Type Description
title string Gallery title.
description HTML Gallery description.
link URL Child gallery link.
date string Last modification date.
gallery.siblings list of string to dictionary mappings Sibling galleries indexed by gallery type. See gallery.children.

Index page (index.html)

Variable name Type Description Format
index.text HTML Page text N/A
index.header_products products A random selection of products. list of products
index.featured_products products A list of featured products. list of products
index.new_products products A list of recently added products. list of products
index.specials_products products A list of products with special prices. list of products

Kolli page (kolli.html)

Variable name Type Description Format
kolli.heading string Page heading N/A
kolli.text HTML Page text N/A

Login page (create_account.html, login.html, password_forgotten.html)

Variable name Type Description Format
create_account.form_action URL A link to the page which handles the form N/A
create_account.heading string Page heading. N/A
create_account.text string Page text. N/A
create_account.generated_password string A randomly generated password suitable for the new account. N/A
create_account.customers_personnummer string N/A
create_account.countries association list A list of country indices mapped to their names. dictionary of integer to string mappings.
Variable name Type Description Format
login.form_action URL A link to the page which handles the form N/A
login.heading string Page heading N/A
login.page_name string N/A
Variable name Type Description Format
password_forgotten.form_action string A link to the page which handles the form N/A
password_forgotten.back_href string A link to the parent page (login.php) N/A


Create account box (containboxes/create_account.html)

Variable name Type Description Format
containboxes.create_account.form_action URL A link to the page which handles the form N/A
containboxes.create_account.text HTML Box text N/A
containboxes.create_account.generated_password string A randomly generated password suitable for the new account. N/A
containboxes.create_account.customers_personnummer string The customer's personnummer N/A
containboxes.create_account.countries association list A list of country indices mapped to their names. dictionary of integer to string mappings.

Login box (containboxes/login_box.html)

Variable name Type Description Format
containboxes.login_box.form_action URL A link to the page which handles the form N/A

Password forgotten box (containboxes/password_forgotten_box.html)

Variable name Type Description Format
containboxes.password_forgotten_box.form_action URL A link to the page which handles the form N/A

Log off page (logoff.html)

Variable name Type Description Format
logoff.continue_href string Link presented to the user after logging off. N/A

Manufacturers page (manufacturers.html)

Variable name Type Description Format
id string N/A N/A
name string N/A N/A
image string N/A N/A
address string N/A N/A
postcode string N/A N/A
postal_address string N/A N/A
visitational_address string N/A N/A
country string N/A N/A
telephone1 string N/A N/A
telephone2 string N/A N/A
fax string N/A N/A
email_address string N/A N/A
orgno string N/A N/A
vat string N/A N/A
note string N/A N/A
plusgiro string N/A N/A
bankgiro string N/A N/A
contact string N/A N/A
payment_conditions string N/A N/A
customers_no string N/A N/A
homepage string N/A N/A
link string N/A N/A

News archive page (news_archive.html)

Variable name Type Description Format
news_archive.news list of dictionaries News articles
Key Type Description
id integer News article ID
title string News article title
date string News article publishing date
content string News article content

News article page (news.html)

Variable name Type Description Format
news.title string News article title N/A
news.date string Date of publishing N/A
news.content string News article content N/A

Newsletter page (newsletter.html)

Variable name Type Description Format
newsletter.text HTML The newsletter. N/A

Product page (product.html)

Variable name Type Description Format
product.form_href URL Add to cart handler. N/A
product.reviews_href URL Link to product reviews. N/A
product.invalid_name string Invalid product name page title. N/A
product.invalid_text string Invalid product name page text. N/A
product.inactive_name string Inactive product name page title. N/A
product.inactive_text string Inactive product name page text. N/A
product.product_prev

product.product_next

dictionary Previous and next products in the current category.
Key Type Description
id integer Product index.
image URL Product image.
name string Product name.
href URL Product link
product.category_path list of dictionaries Information about the current category path.
Key Type Description
id integer Category index.
name string Category name.
image URL Category image.
seo_link URL Category link.
product.product dictionary Product information
Key Type Description
id integer Product index.
parent_id integer Parent product index.
categories list of lists of dictionaries Information for all product categories. See product.category_path.
tags list of tags Tags set for this product.
date_added string Date product was added.
date_available string Date product will be available.
delivery_time string Product delivery time.
description HTML Product description.
description_short HTML Short product description.
disabled boolean Product disabled status.
ean1 string Product EAN.
external_url URL Product link.
extra1 HTML Custom product field.
extra2 HTML Custom product field.
extra3 HTML Custom product field.
extra4 HTML Custom product field.
extra5 HTML Custom product field.
featured boolean Featured product.
file URL Product file 1.
file2 URL Product file 2.
full_products_id integer Requested product ID (including attributes).
image URL Product image.
image_href URL Link to full product image.
additional_images Additional product images.
Key Type Description
href URL Image thumbnail link.
image URL Image path.
description string Image description.
last_modified string Product last modified date.
lowest_number integer Minimum required order size.
manufacturer_model string Product manufacturer model.
model string Product model.
name string Product name.
next_delivery_date string Next delivery date.
next_delivery_quantity string Next delivery quantity.
tax decimal Product tax rate.
price string Product price.
price_rek string Recommended product price.
price_special string Special product price.
rating decimal Average review rating in increments of 0.5.
seo_link URL Product link.
stock integer Products in stock.
type string Product quantity type.
weight string Product weight.
reorder_stock string
stock_place string Product location.
viewed integer Product view count.
ordered integer Product order count.
note string Product note.
lead_time string
price_in string
price_rek string
shipping_class int Product shipping class. 1-10
product.manufacturer dictionary Product manufacturer information
Key Type Description
name string Manufacturer name.
href URL Manufacturer URL.
image URL Manufacturer image.
address string
postcode string
postal_address string
visitational_address string
country string
telephone1 string
telephone2 string
fax string
email_address string Manufacturer email address.
orgno string
vat string
note string Manufacturer note.
plusgiro string
bankgiro string
contact string
payment_conditions string
customers_no string

Product added to shopping cart page (product_added.html)

Variable name Type Description Format
product_added.checkout_href URL A link to the checkout page. N/A
product_added.product product The product added. The product has one additional key.
Key Type Description
quantity_added integer The quantity of the product added to the shopping cart

New products page (products_new.html)

Variable name Type Description Format
products_new.pagination pagination Pagination info N/A
products_new.page_href_format URL Pagination link format N/A
products_new.products products A list of recently added products. list of products

Product reviews page (product_reviews.html)

Variable name Type Description Format
product_reviews.back_href URL Link to the product page. N/A
product_reviews.write_href URL Link to the write review page. N/A
product_reviews.product product The product. N/A
product_reviews.pagination pagination Pagination object for the reviews. N/A
product_reviews.page_href_format URL Page format for the pagination. N/A
product_reviews.reviews list of dictionaries The displayed reviews.
Key Type Description
href URL Link to the review page
author string Author of the review
date string The date the review was written
text string The first 100 characters of the review text, lines broken at every 40 characters
full_text string The first 100 characters of the review text
rating integer Review rating, 1-5.

Review page (product_reviews_info.html)

Variable name Type Description Format
product_reviews_info.back_href URL Link to the product reviews page. N/A
product_reviews_info.write_href URL Link to the write review page. N/A
product_reviews_info.product product The product. N/A
product_reviews_info.review dictionary The displayed review.
Key Type Description
author string Author of the review
date string The date the review was written
text string The review text, lines broken at every 60 characters
rating integer Review rating, 1-5.

Write review page (product_reviews_write.html)

Variable name Type Description Format
product_reviews_write.form_href URL Form handler. N/A
product_reviews_write.back_href URL Link to the product reviews page. N/A
product_reviews_write.product product The product. N/A
product_reviews_write.customer dictionary Customer information.
Key Type Description
firstname string First name of the customer writing the review.
lastname string Last name of the customer writing the review.

Question about product page (question_about_product.html)

Variable name Type Description Format
question_about_product.form_action URL A link to the page which handles the form N/A
question_about_product.back_href URL Link back to the product page N/A
question_about_product.product product Product information. N/A

Product reviews page (reviews.html)

Variable name Type Description Format
reviews.pagination pagination Pagination info N/A
reviews.page_href_format URL Pagination link format N/A
reviews.reviews list of dictionaries Product reviews
Key Type Description
href URL A link to the review page
product string Product name
author string Review author
date string Review date
image string Product image
text HTML Abbreviated review text
full_text string Unabbreviated review text
rating HTML Product rating

Shopping cart page (shopping_cart.html)

Variable name Type Description Format
shopping_cart.title
shopping_cart.description
shopping_cart.update_products_href
shopping_cart.checkout_href
shopping_cart.referer_url
shopping_cart.cart_count
shopping_cart.cart_total
shopping_cart.any_out_of_stock
shopping_cart.checkout_cart

Specials page (specials.html)

Variable name Type Description Format
specials.pagination pagination Pagination info N/A
specials.page_href_format URL Pagination link format N/A
specials.specials products A list of products with special prices. list of products

Tell a friend page (tell_a_friend.html)

Variable name Type Description Format
tell_a_friend.form_action URL A link to the page which handles the form N/A
tell_a_friend.back_href URL Link back to the product page N/A
tell_a_friend.product product Product information. N/A

Extensions

Operators

String matching

'=~' matches a string against a regular expression. Example:

var =~ '//'