diff --git a/vtex/loaders/options/productIdByTerm.ts b/vtex/loaders/options/productIdByTerm.ts index 5da5a1d85..d1decf347 100644 --- a/vtex/loaders/options/productIdByTerm.ts +++ b/vtex/loaders/options/productIdByTerm.ts @@ -18,9 +18,11 @@ const loader = async (props: Props, req: Request, ctx: AppContext) => { label: "No products found, use search", }]; } + return suggestions?.products?.map((product) => ({ value: `${product.productID}`, - label: `${product.productID} - ${product.name}`, + label: + `${product.productID} - ${product.isVariantOf?.name} ${product.name} - ${product.isVariantOf?.productGroupID}`, image: product.image?.[0]?.url, })); };