Dynamic Fields for Product HTML

Edited

The subsequent fields are designed for utilization within the Product Template HTML to dynamically retrieve product-specific data, eliminating the need for hardcoding. This approach allows for the creation of a single template capable of accommodating various products effortlessly.

#id#
#name#
#currency.symbol#
#currency.text#
#price#
#pricePerMonth#
#billingPeriod#
#uom#
#description#

Product Identifier (id)

This identifier corresponds to the unique product identification code within the PeakCommerce system.

Product Name

This field indicates the name assigned to the product within the PeakCommerce platform.

Currency Symbol

This denotes the symbol representing the currency used for pricing the product.

Currency Text

This field specifies the textual representation of the currency used for pricing the product.

Price

For regular products, this value reflects the price obtained from Zuora. For bundled products, it represents the sum of the prices of individual Zuora rate plans. If there are any price overrides or if the Portal Price is in use, this field will display the overridden value.

Price Per Month

This field calculates the monthly price of an annual product by dividing the annual price by 12. It facilitates comparison between annual and monthly product prices.

Billing Period

For regular products, this field retrieves the billing period specified in the rate plans from Zuora. For bundled products, it reflects the billing period configured in PeakCommerce.

Unit of Measure (UOM)

For regular products, this field pulls the unit of measure information from the rate plan in Zuora. In the case of bundled rate plans, a unit of measure for display purposes can be added to the Peak product configurations and retrieved using this field.

Description

This field displays the HTML-formatted product description sourced from PeakCommerce. It applies to both regular and bundled products.

Discount Percentage

This field indicates the percentage of discount applied to the product, if any.

Discount Amount

This field specifies the amount of discount applied to the product, if applicable.