Describe the bug
Currently, product variants are only added in the current channel, even if the parent product is in multiple channels.
To Reproduce
Steps to reproduce the behavior:
- Create two channels: ChannelA and ChannelB
- Create a product in ChannelA, and assign the product also to ChannelB
- Create a new variant for the product in ChannelA
- The variant is now not visible in ChannelB
Expected behavior
I would expect the new variant to be automatically assigned to ChannelB. Product options are visible in both channels, so it is a bit strange to see product options in both channels, but a 'missing' variant in ChannelB.
Environment (please complete the following information):
- @vendure/core version: 3.1.1
- Nodejs version 18
- Database (mysql/postgres etc): MySQL