Skip to main content

Variables for templates and rewrites

This page contains list of variables that can be used in SEO templates and SEO rewrites.

note

The extension will hide any variable in the rule if it is not set for the proper template. To hide some particular text around the variable, use [some text {variable} other text].

Category pages variables

OptionDescription
[category_name]name of the category.
[category_description]category description.
[category_url]category URL.
[category_parent_name]name of the parent category.
[category_parent_url]URL of the parent category.
[category_meta_title]meta title of the category.
[store_name]name of the current store.
[store_url]URL of the current store.
[store_address]address of the current store.
[store_phone]phone number of the current store.

Product pages variables

OptionDescription
[product_{attribute_code}]{attribute_code} is any attribute which can be found in Catalog -> Attributes -> Manage attributes. For example, an attribute with the attribute label Decor type and attribute code decor_type a corresponding template variable will be [product_decor_type]. The same goes for [product_brand], [product_size], etc.
[product_name]product's name.
[product_sku]product's SKU.
[product_price]product's regular price.
[product_special_price]product's special price.
[product_final_price]product's final price.
[product_final_price_minimal]product's final price (for bundle, configurable and grouped products returns minimal price).
[product_final_price_range]product's final price (for bundle, configurable and grouped products returns price range).
[product_brand]product's brand.
[product_url]product's URL.
[product_entity_id]product's ID.
[category_name]name of the category.
[category_description]category description.
[category_url]category URL.
[category_parent_name]name of the parent category.
[category_parent_url]URL of the parent category.
[store_name]name of the current store.
[store_url]URL of the current store.
[store_address]address of the current store.
[store_phone]phone number of the current store.

CMS pages variables

OptionDescription
[cmsPage_title]title of the CMS page.
[cmsPage_meta_keywords]keywords of the CMS page.
[cmsPage_meta_description]meta description of the CMS page.
[cmsPage_content_heading]content heading of the CMS page.
[cmsPage_content]content of the CMS page.
[cmsPage_meta_title]meta title of the CMS page.

Layered navigation variables

OptionDescription
[filter_selected_options]returns the values of the chosen attributes in the layered navigation.
Format: <selected options of attribute1>, <selected options of attribute2>. For example, Asus, Red, Black Intel Core I5.
[filter_named_selected_options]returns names with values of the chosen attributes in the layered navigation.
Format: <name of attribute1>: <selected options of attribute1>, <name of attribute2>: <selected options of attribute2>. For example, Brand: Asus, Color: Red, Black CPU: Intel Core I5.
[category_name]name of the category.
[category_description]category description.
[category_url]category URL.
[category_parent_name]name of the parent category.
[category_parent_url]URL of the parent category.
[store_name]name of the current store.
[store_url]URL of the current store.
[store_address]address of the current store.
[store_phone]phone number of the current store.