Home > @shopware-pwa/helpers > getProductMainImageUrl

# getProductMainImageUrl() function

gets the cover image

Signature:

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

# Parameters

Parameter Type Description
product Product

Returns:

string