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