openQuickView( )


Opens the Quick View modal of a specified product.

The quantity input field in the Quick View will be pre-populated with 1, unless otherwise specified in the options.quantity field.

If the product has different options or variants, they will be displayed for selection in the opened Quick View.

Note: This API fails when viewing the site on mobile because there is no Quick View on the mobile site.

Method Declaration
Copy
Method Parameters
productIdstringRequired

ID of the product to be displayed in the Quick View.


optionsQuickViewOptions

Quick View options.

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?