Home > widget-integration > QuickViewController
QuickViewController class
Signature:
export declare class QuickViewController extends Controller
Extends: Controller
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
| |||
|
|
HTMLElement | null | ||
|
| |||
|
| |||
|
| |||
|
| |||
|
|
DomHelper | ||
|
|
DTOHelper | ||
|
| |||
|
|
(not declared) | ||
|
|
SlickHelper | ||
|
|
JQuery<HTMLElement> | null | ||
|
|
Signal<QuickViewState> | ||
|
| |||
|
|
WCAGHelper |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
| ||
|
| ||
|
buildProductDetailUrl(handle, locale, addCollectionToProductUrl) |
| |
|
| ||
|
| ||
|
| ||
|
|
Keeps quick view above theme headers and Boost sticky UI. | |
|
| ||
|
| ||
|
| ||
|
|
Position of the swatch group that owns | |
|
|
Value merged_options and original_merged_options are "OptionName:Value" entries ordered like the swatch groups. original_merged_options wins for a given position because the quick view template builds the labels from it when it is present, but either list can be empty or shorter than the option count, so each source is consulted per index before falling back on the title ("V1 / V2 / ..." in the same order). Returns null when no source resolves the position. Deliberately different from CombinedProductListingsController, which ORs both lists and searches every entry: matching a value regardless of its position is what let a name shared by two options collide. | |
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
|
|
Whether Checking the position rather than the whole variant is what keeps a value name shared by two options (e.g. "GREY" under both "Rubber Color" and "Product Color") from matching in the wrong group. The comparison ignores case because the label text and the API value can differ in casing. |