Home > @shopware-pwa/helpers > getProductThumbnailUrl

# getProductThumbnailUrl() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

get the thumbnail image URL with the smallest width

Signature:

export declare function getProductThumbnailUrl(product: Product): string;

# Parameters

Parameter Type Description
product Product

Returns:

string