Skip to content
On this page

Helpers Reference ​

List of all public methods exported within @shopware-pwa/helpers-next package.

Category ​

namedescription
getCategoryRouteGet category/navigation route information for Vue Router. category or navigation URL and route informations for resolving SEO url.Use it with combination of

Media ​

namedescription
getBiggestThumbnailUrlthe biggest thumbnail url from the media object
getMediaPrepare media object
getSmallestThumbnailUrlthe smallest thumbnail url from the media object
getSrcSetForMediathe srcset attribute for the image, for available breakpoints

Product ​

namedescription
getMainImageUrlgets the cover image
getProductFreeShippingGet product free shipping property
getProductRatingAverageGet product rating average property
getProductReviewsFormat product reviews to ui-interfaces
getProductRouteGet product route information for Vue router. product URL and route informations for resolving SEO url.Use it with combination of
getProductUrlGet product url. The priority is SEO url and then technical url.

Routing ​

namedescription
getCategoryRouteGet category/navigation route information for Vue Router. category or navigation URL and route informations for resolving SEO url.Use it with combination of
getProductRouteGet product route information for Vue router. product URL and route informations for resolving SEO url.Use it with combination of

Other ​

namedescription
UiMediaGalleryItem
UiMediaGalleryItemUrl
UiProductOption
UiProductProperty
UiProductReview
getCategoryImageUrlgets the cover image
getCategoryUrlGet URL for category.Some link
getFormattedPriceGet formatted price
getTranslatedPropertyGet translated property from the given object.
Helpers Reference has loaded