openQuickView( )


Opens the Quick View modal of a specified product.

について openQuickView() function returns a Promise that is resolved when the Quick View modal is opened.

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 will fail when viewing the site on mobile because there is no Quick View on the mobile site.

メソッド宣言
コピー
メソッド・パラメータ
productIdstringRequired

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


optionsQuickViewOptions

Quick View options.

役に立ちましたか?
はい
いいえ