Â
Â
With the Wix Bookings Service Options and Variants API, you can manage custom options and variants for services. This allows site owners to offer different prices for the same service based on their customers' choices.
You can read more about using the:
For a comprehensive glossary of Wix Bookings terms, see Terminology.
It's important to note the following points before starting to code:
To use the Service Options And Variants API, import { serviceOptionsAndVariants }
from the wix-bookings.v2
module:
1
Only a single serviceOptionsAndVariants
object is supported per service.
Currently, only a single option is supported per serviceOptionsAndVariants
object.
New variants are automatically created for services with staff member-based options whenever a new staff member is added to the service. The new variant gets the default price of the service.
Variants are automatically deleted for services with staff member based options whenever a staff member is removed from the service or the business.