DocumentationAmertaThemeUtilitiesGet related productsFunctions
Get Related Products
amerta / amerta/theme/utilities/get-related-products / getRelatedProducts
Function: getRelatedProducts()
getRelatedProducts(
product,salesChannel,locale?):Promise<Product[]>
Defined in: amerta/theme/utilities/get-related-products.ts:6
Parameters
| Parameter | Type |
| ------ | ------ |
| product | Product |
| salesChannel | SalesChannel |
| locale? | string |
Returns
Promise<Product[]>