---
schema_version: "1"
id: 616051f4d6f7c50f0911744ef2556978568c858676018dbdea8518d9da787fe9
title: Data Expressions for Commerce Product Components
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_components_expressions_product.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_components_expressions_product.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5da54da0020b21a80c57dc0d406d507881e4a4a9e6d0a06c8afda738f9f84930
description: Use these data expressions in any component on the product page of your B2B store.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Data Expressions for Commerce Product Components

Use these data expressions in any component on the product page of your B2B store.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d44513e63">Expression</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d44513e66">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.id}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">ID of the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.isActive}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Indicates whether the product is active or not.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.isArchived}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Indicates whether the product is archived. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.CreatedById}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">ID of the user who created the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 "> {!Product.Details.fields.CreatedDate} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Date the product was created.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.CurrencyIsoCode} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 "> Three-letter ISO 4217 currency code associated with the product.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.IsDeleted}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 "> Indicates whether the object has been moved to the Recycle Bin or not.
            </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.DisplayUrl} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Display URL of the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.ExternalDataSourceId} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">External data source ID of the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.ExternalId}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">External ID of the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.LastModifiedById} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">ID of the user who last modified the product.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.LastModifiedDate} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Timestamp for when the current user last modified the product.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.LastReferencedDate} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 "> Timestamp for when the current user last viewed a record related to the
              product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.LastViewedDate}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Timestamp for when the current user last viewed the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 "> {!Product.Details.fields.ProductClass} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Product class of the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.ProductCode} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Product code of the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.Description} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Description of the product.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.Family}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 "> Family of the product.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.id}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 "> ID of the product.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.Name}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Name of the product.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.StockKeepingUnit} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 "> Stock keeping unit of the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.Type} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">
              <p>The type of the product. Values are:</p>
              <ul>
                <li>Base</li>

                <li>Null</li>

              </ul>
              <p style="margin-bottom:0;">Values are: Base Null </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.QuantityUnitOfMeasure} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Unit of the product, for example, kilograms, liters, or cases. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.SystemModstamp} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">ISO 8601 date string indicating when a user or any automated system process,
              such as a trigger, updated the file. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.fields.TaxPolicyId} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">ID of the related tax policy. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.defaultImage.canViewPrice}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Specifies whether the product's price can be viewed (true) or not (false).
            </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 "> {!Product.Details.defaultImage.id} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">ID of the default image for the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.defaultImage.url} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">URL for the default image for the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.defaultImage.thumbnailUrl} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">URL of the thumbnail for product media. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.defaultImage.title} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Title of the product media. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.defaultImage.alternateText}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Alternative text for the product media. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 "> {!Product.Details.defaultImage.sortOrder} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Sort order of a media item within a media group. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.defaultImage.mediaType} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">
              <p>Type of product media. Values are: </p>
              <ul>
                <li>Document</li>

                <li> Image</li>

                <li> Video</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.defaultImage.contentVersionId} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">ID of the latest published content version if the media is stored as a
              ContentDocument. If the image is a customer-provided external URL, the value is
              null.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.variationParentId} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">ID of the variation parent. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.productClass} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">
              <p>Class of the product. Values are: </p>
              <ul>
                <li>Simple </li>

                <li>Variation</li>

                <li>VariationParent</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.variationAttributeSet.id} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Variation attribute set for the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.variationAttributeSet.developerName} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Unique name of the object in the API. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.purchaseQuantityRule.minimum} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Minimum quantity of a product that can be purchased. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.purchaseQuantityRule.maximum} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Maximum quantity of a product that can be purchased.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Details.purchaseQuantityRule.increment} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Increment value of the quantity that can be purchased. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Pricing.pricebookEntryId}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">ID of the price book entry for the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 "> {!Product.Pricing.listPrice} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">List price for the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Pricing.unitPrice} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Unit price for the product.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Pricing.currencyIsoCode} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 "> Three-letter ISO 4217 currency code associated with the product.</td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Pricing.priceAdjustment.id} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Price adjustment schedule for the product. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.Tax.taxLocaleType}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">
              <p>Tax type of the store. Values are: </p>
              <ul>
                <li>Gross–Prices include tax</li>

                <li>Net–Prices don’t include tax</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 "> {!Product.SelectedVariant.isValid} </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Indicates if the selected variant is a valid product or not. </td>

          </tr>
          <tr class="">
            <td data-label="Expression" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e63 ">{!Product.SelectedVariant.options}</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d44513e66 ">Provides options of the selected variant.</td>

          </tr>
        </tbody>
      </table>