Product
Renders a select input from which a Creator can select a product.
Returns a Product object.
- Accepts a
defaultofrandomwhich will select a random product from the Creator’s published products. - Has an optional
onlylist, which supports restricting the product types. The allowed values areexperiencesandaccommodations. Ifonlyis missing, it defaults to all types.randomdefaults will comply with these restrictions.
syntax
---
my_variable:
type: product
default: random
only:
- experiences
- accommodations
---
{{ my_variable.name }}