product
object

{{product}} object available to templates/pages/product.html, templates/pages/amp/product.html, and their components

AddThisServiceButtonMeta
string
add_this
array[object]
add_to_wishlist_url
string

URL to add the product to the customer’s wishlist

availability
string
bulk_discount_rates
array[object]

List of discount rates for the current product

can_purchase
boolean

Boolean that indicates whether the product is available for purchase

cart_url
string

URL to the customer’s shopping cart

category
array[string]
customizations
array[object]

Product customizations (for example, a T-shirt size); these correspond to configurable fields and numeric-text product options in the BigCommerce control panel

description
string

(HTML) description of the product

detail_messages
string

Status messages for display at the top of the product page

gift_wrapping_available
boolean

Whether or not gift wrapping is enabled

id
string

Unique ID for the product

images
array[object]

List of all images for this product, in Stencil image format (as configured in config.json; used with the getImage Handlebars helper)

main_image
object

Primary image to display when the product details page loads

max_purchase_quantity
integer

Maximum quantity that can be purchased at once

meta_description
string
meta_keywords
string

Optional search keywords that merchants may enter in the control panel’s “Add a Product” or “Edit a Product” page, to characterize the product in meta tags and storefront searches

min_purchase_quantity
integer

Minimum quantity that can be purchased at once

num_reviews
integer

Number of reviews the product has

options
array[object]
page_title
string
price
object

product.price and products[*].price object available to various product templates and components.

rating
integer

Rating for the product

related_products
array[object]
reviews
object
shipping_messages
array[object]
show_quantity_input
integer
sku
string

Default product variant when no options are selected

tags
array[object]

Keywords by which this product can also be identified

title
string

Displayed name of the product

upc
null

Optional UPC code for the product

url
string

URL to the product detail page

videos
object

Available if product has videos.

warranty
string

Optional warranty text set by the merchant

custom_fields
array[object]