CMS Support - KVars

My Market Toolkit provides system variables to help with your website or community. A KVar is a code inserted into a template or page to display a specific variable.

KVar Types and Descriptions

KVar Type Description Example KBlock Code
user_name The User_Name KVar will display the user name of the user who is logged in. [kvar name="user_name"]
flash_notice The Flash_Notice KVar will show a system generated notice when present (e.g. "The comment has been saved"). [kvar name="flash_notice"]
captcha Displays a randomly generated image, along with a form for somebody to enter in the image's text. This is used to validate a form. [kvar name="captcha"]
id Displays the database record id. For example, the id of the page, blog, image, or product. This is sometimes helpful as part of a form tag. [kvar name="id"]
product_link An E-commerce variable, which displays the product's link. It's used when formatting a product category page. [kvar name="product_link"]
title Displays the page title. [kvar name="title"]
description Displays the main content of a page. [kvar name="description"]
short_description An E-commerce specific variable. It displays the short description of a product. [kvar name="short_description"]
category_description An E-commerce specific variable. It displays the category description of a product, which is useful on the product category pages. [kvar name="category_description"]
default_price An E-commerce specific variable. It displays the default price. [kvar name="default_price"]
sku An E-commerce specific variable. It displays the sku. [kvar name="sku"]
msrp An E-commerce specific variable. It displays the msrp or manufacturer's suggested retail price. [kvar name="msrp"]
starting_at_price An E-commerce specific variable. It displays the starting at price, which is useful on group products to show the lowest priced option. [kvar name="starting_at_price"]
msrp_minus_starting_at_price An E-commerce specific variable. It makes it possible to show how much somebody is saving by showing the difference between the msrp and the starting at price. [kvar name= "msrp_minus_starting_at_price"]
select_qty An E-commerce specific variable. This makes it possible to select the quantity. [kvar name="select_qty"]
select_simple_item An E-commerce specific variable. This makes it possible to select a simple product on a group product page. [kvar name="select_simple_item"]
display_image An E-commerce specific variable. This displays the image on the product detail page. [kvar name="display_image"]
mini_images An E-commerce specific variable. This displays mini images on the product detail page. When they are clicked on, a large image is displayed using a lightbox KMod. [kvar name="mini-images"]

Using KVars

To apply a KVar to a Template:

  1. Copy and paste the desired KVar from the Example Codes above.