Wix app collections are special collections included by some apps made by Wix when you add them to a site. Some of these collections support additional query options, allowing you to refine your queries to retrieve details specific to each collection.
For example, when querying the Wix Stores Products collection using the find()
method, you can include product variants by specifying the following query options:
The collections that support additional query options are listed below. When calling methods that run the query, such as find()
, count()
, or distinct()
, you can specify these parameters in the options.appOptions
object.
Parameter | Type | Description |
---|---|---|
includeVariants | Boolean | Whether to retrieve product variants. Default: false . |
includeHiddenProducts | Boolean | Whether to retrieve hidden products. Default: false . |