Show suggested facets on the product detail page for your content editors. Useful when you have different product types.
npm install @pinelab/vendure-plugin-facet-suggestions
This plugin allows you to define facets that will show as suggestions on a product detail page. You can set facets to always show on every product detail, or dependant on other facet values. This feature is based on one of Michael Bromley's (Co-founder of Vendure) tutorials.
vendure-config.ts
:facets
Show on product detail page
There are two ways to show facets on the product detail page:
Show on product detail page
- Always show for every productShow if product has facets
- Only show if a product already has selected facets. For example, you can use this to create product types: "If product has category:laptop
, it should also have a facet value from the memory
facet"