Replies: 2 comments 4 replies
-
|
We would like to do this as well. Is it possible out of the box or is customization needed? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi, this is something you can do using custom fields: import { Product, VendureConfig } from '@vendure/core';
const config: VendureConfig = {
// ....
customFields: {
Product: [
{
name: 'relatedProducts',
type: 'relation',
entity: Product,
list: true,
ui: { component: 'product-multi-form-input', selectionMode: 'product' }
}
],
}
} |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi,
is there a way to add related products to a product / product variant so we can display them next to the product on a product detail page? Didn't find anything in the admin.
Beta Was this translation helpful? Give feedback.
All reactions