Querying Wix App Collections

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:

Copy

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.

Wix Stores "Products" Collection

ParameterTypeDescription
includeVariantsBooleanWhether to retrieve product variants. Default: false.
includeHiddenProductsBooleanWhether to retrieve hidden products. Default: false.

See also

Did this help?