Home > @shopware-pwa/helpers > getProductUrl

# getProductUrl() function

Get product url. The priority is SEO url and then technical url.

Signature:

export declare function getProductUrl(product: Product | null): string;

# Parameters

Parameter Type Description
product Product | null

Returns:

string