Using tokens

Tokens are bracketed phrases you can use in certain text fields and boxes as placeholders for some other text. Tokens represent things like store variables, links to certain pages, order information, etc. Tokens are used by including the token listed below in a text field that uses them. The description for the textfields will alert you to which groups of tokens listed below may be used.

TokenReplacement value
Order tokens
[new-password]New password associated with an order if applicable.
[new-username]New username associated with an order if applicable.
[order-admin-link]A link to the order admin view page using the order ID.
[order-admin-url]The URL to the admin view page using the order ID.
[order-billing-address]The order billing address.
[order-billing-phone]The phone number for the billing address.
[order-comments]Comments left by the customer.
[order-date-created]The date and time when the order was created.
[order-date-modified]The date and time when the order was last modified.
[order-email]The primary e-mail address of the order.
[order-first-name]The first name associated with the order.
[order-id]The order ID.
[order-last-comment]Last order comment left by an administrator (not counting the order admin comments).
[order-last-comment-raw]Last order comment left by an administrator (not counting the order admin comments). Use with caution: this is unescaped raw input. Warning: Token value contains raw user input.
[order-last-name]The last name associated with the order.
[order-link]A link to the order using the order ID.
[order-payment-balance]The payment balance of the order
[order-payment-method]The payment method of the order.
[order-shipping-address]The order shipping address.
[order-shipping-method]The title of the first shipping line item.
[order-shipping-phone]The phone number for the shipping address.
[order-status]The current order status.
[order-subtotal]The subtotal of products on an order.
[order-total]The order total.
[order-uid]The user ID of the order.
[order-url]The URL to the order
Product tokens
[cost]The product's cost.
[height]The product's formatted height.
[height-raw]The numerical value of the product's height. Warning: Token value contains raw user input.
[length]The product's formatted length.
[length-raw]The numerical value of the product's length. Warning: Token value contains raw user input.
[length_units]The unit of measurement for the product's length, width, and height.
[list_price]The product's list price.
[model]The product's model number.
[sell_price]The product's sell price.
[weight]The product's formatted weight.
[weight-raw]The numerical value of the product's weight. Warning: Token value contains raw user input.
[weight_units]The unit of measurement for the product's weight.
[width]The product's formatted width.
[width-raw]The numerical value of the product's width. Warning: Token value contains raw user input.
Stock tokens
[stock-level]The current stock level
[stock-model]The model or SKU of the stock level
[stock-threshold]The threshold or warning limit of the stock level
Global tokens
[site-login]A link to the site login page.
[site-logo]The URL for the site logo.
[store-address]The Ubercart store mailing address.
[store-email]The Ubercart store e-mail address.
[store-fax]The Ubercart store fax number.
[store-help-url]The URL to the store help page.
[store-link]A link to the Ubercart store using the store name.
[store-name]The Ubercart store name.
[store-owner]The Ubercart store owner.
[store-phone]The Ubercart store phone number.
[store-url]The Ubercart store URL.