Everything here can also be added with a shortcode, in widget areas, page builders, and theme templates. The easiest
way to get one is to click Embed on the item (on Add to site,
Services, Categories, or Team). It builds the shortcode as you choose options, IDs included. In the booking shortcode,
use service (plus variation and quantity) or category to narrow what it shows, or leave both out for all services. Use
staff to pick a team member.
{ specs.data.map( ( spec ) => (
{ spec.title }
{ spec.description }
{ spec.attrs.length ? (
| Option |
What it does |
Values |
Default |
{ spec.attrs.map( ( attr ) => (
| { attr.name } |
{ attr.label }
{ attr.help ? { attr.help } : null }
|
{ valuesOf( attr ) } |
{ attr.required ? 'required' : attr.default === null ? attr.placeholder ?? '—' : attr.default === '' ? '—' : attr.default }
|
) ) }
) : null }
) ) }
);
}