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