Product Template Tags

Edited

Overview

The list below provides the tags that can be referenced in the HTML of product templates in PeakCommerce. The product templates are rendered server-side, meaning that these tags are not available in the e-Commerce templates. These are placeholders to replace with actual values prior to sending the information to the browser.

#id# - (integer) The PeakCommerce ID of the product.
#name# - (string) The name of the product.
#currency.symbol# - (string) The symbol of the currency. (e.g. $, €)
#currency.text# - (string) The currency text. (e.g. USD, EUR)
#price# - (float) The price of the product.
#pricePerMonth# - (float) The price divided into monthly increments. This is useful to show annual products at a monthly rate.
#billingPeriod# - (string) The frequency that the product price is billed. (e.g. month, year)
#uom# - (string) The unit of measure. (e.g. user, device, license)
#description# - (string) The product description.
#discountPercentage# - (float) The percentage amount the rate plan is discounted.
#discountAmount# - (float) The dollar amount the rate plan is discounted.

 

 

Tag

Type

Description

#id#

Integer

The PeakCommerce ID of the product.

#name#

String

The name of the product.

#currency.symbol#

String

The symbol of the currency.

#currency.text#

String

The currency text (e.g. USD, EUR)

#price#

Float

The price of the product.

#pricePerMonth#

String

The price divided into monthly increments.

#billingPeriod#

String

The frequency that the product price is billed.

#uom#

String

The unit of measure.

#description#

String

The product description.

#descriptionPercentage#

Float

The percentage amount the rate plan is discounted.

#discountAmount#

Float

The dollar amount the rate plan is discounted.