Piezo-Metrics Logo
Tokens

Tokens

ACTION Call an MVC child action into the page

(!Action ActionName="Index" ControllerName="UserLinks"!)

ADDTOCARTFORM Creates an add-to-cart form for a product

(!AddToCartForm ProductId="1" VariantId="1"!)
The specified product is not available

APPCONFIG Get the value of an appconfig

(!AppConfig Name="storename"!)
Piezo-Metrics, Inc.
(!CategoryLink CategoryId="1" SEName="category-one"!)
/category/1/category-one

COPYRIGHTYEARS Get the copyright year or year range

(!CopyrightYears!)
2026

COUNTRYSELECTLIST Used to output the country drop down

(!CountrySelectList!)

CURRENCYSELECTLIST Used to output the currency drop down

(!CurrencySelectList!)

CUSTOMERID The current user's CustomerId

(!CustomerId!)
0

CUSTOMERLOCALE Gets the current user's locale

(!CustomerLocale!)
en-US
(!EntityLink EntityId="1" SeName="category-one" EntityName="category"!)
/category/1/category-one

FORMATCURRENCY Format a decimal in the current user's currency

(!FormatCurrency Value="10.00"!)
$10.00

IMAGEURL Gets a URL for a product or entity image

(!ImageUrl Id="1" Type="product" Size="icon"!)
/skins/skin_piezo-metrics/images/nopictureicon.gif

INVOCATION Shows the URL including the sub-folder application name (if you have one) and the query string

(!Invocation!)
/topic/tokens

LOCALESETTING Gets the current user's locale

(!LocaleSetting!)
en-US

LOOKUPIMAGE Renders an image of a product or entity

(!LookupImage Id="1" Type="product" Size="icon"!)
(!ManufacturerLink ManufacturerId="1" SEName="manufacturer-one"!)
/manufacturer/1/manufacturer-one

MICROPAYBALANCE The current user's MicroPay balance

(!MicropayBalance!)

MICROPAYBALANCECURRENCY The current user's MicroPay balance converted to the user's currency

(!MicropayBalanceCurrency!)

MICROPAYBALANCERAW The current user's MicroPay balance without a label

(!MicropayBalanceRaw!)

NUMCARTITEMS The number of items in the current user's shopping cart

(!NumCartItems!)
0

NUMWISHITEMS The number of items in the current user's wishlist

(!NumWishItems!)
0
(!ObjectLink ObjectId="1" SeName="category-one" ObjectName="category"!)
/category/1/category-one

PAGEINFO HTML commented page diagnostic info used on the default template

(!PageInfo!)
View source to see code
(!ProductLink ProductId="1" SEName="product-one"!)
/product/1/product-one

PRODUCTPROPERNAME Get a product and variant concatenated name (Product Name-Variant Name)

(!ProductProperName ProductId="1" VariantId="1"!)
Add $5 to my MicroPay account
(!SectionLink SectionId="1" SEName="department-one"!)
/section/1/department-one
(!SignInOutLink!)
/account/signin?returnurl=%2Ftopic%2Ftokens

SIGNINOUTTEXT "Login" or "Logout" depending on the whether the current user is logged in or not

(!SignInOutText!)
Login

SKINID Get the current SkinId

(!SkinId!)
296187613

SKINNAME Get the current SkinName

(!SkinName!)
Skin_Piezo-Metrics

SKINPATH Get the current SkinPath

(!SkinPath!)
/skins/skin_piezo-metrics

STORELOCALE Gets the default locale for the store

(!StoreLocale!)
en-US

STRINGRESOURCE Get a string resource

(!StringResource Name="ResponsiveSkin.AccountLabel"!)
My Account

TOPIC Get the contents of a topics

(!Topic name="HelpBox"!)
Place the links you want to appear here by editing the "HelpBox" topic within the Admin Console.
(!TopicLink Name="about"!)
/topic/about

URL Get a URL to a given action and controller with optional route values

(!Url ActionName="Index" ControllerName="Checkout" Query1="test" Query2="test"!)
/checkout?Query1=test&Query2=test

USERMENUNAME Says the user's name if you're logged in otherwise it says "my account"

(!UserMenuName!)
my account

USERNAME Says "Welcome, {User Name}" if you're logged in

(!UserName!)

VATSELECTLIST Used to output the inclusive/exclusive vat drop down

(!VatSelectList!)

XMLPACKAGE Display the output of an XmlPackage

(!XmlPackage Name="RelatedProducts" ProductId="1"!)
Loading...
Piezo-Metrics Assistant
Connected to Piezo-Metrics AI assistant