Header output tags return information about the current page.
Output Tag | Description |
{flex_file} | product.flex |
{flex_template} | tpl_product_template |
{theme_folder} | Return the theme folder name |
{theme_location}
Depreciated |
Return the theme location. Works great for css and js includes and identifying location of assets. It is recommended to use asset_url. This will be removed from the system in a future release. |
{flex_page_type} | Product |
{header_host} | example.com |
{header_user_agent} | Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 |
{header_accept} | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
{header_accept_language} | en-US,en;q=0.5 |
{header_uri} | /test-product/ |
Example:
<link rel="stylesheet" href="{theme_location}/css/style.css" /> <!-- Output --> <link rel="stylesheet" href="/path/to/your/theme/css/style.css" />