Home > widget-integration > ProductSwatchService > findVariantImage
ProductSwatchService.findVariantImage() method
Signature:
findVariantImage(optionsWithValues: OptionsWithValues$2[], swatchType: string, swatchValue: string, images: ProductImage[]): ProductImage | null;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
optionsWithValues | ||
|
swatchType |
string | |
|
swatchValue |
string | |
|
images |
Returns:
ProductImage | null