# Dynamic Fields for Product HTML

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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.peakcommerce.com/developers/product-cards/dynamic-fields-for-product-html.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
