Open BrocksiNet opened 11 months ago
Very Interesting. Currently need the same use case.
Yes, working on this as well.
I'm trying to use a middleware to achieve the desired result. It's not working, but would you recommend this as the correct approach or not? I thought using onConfigChange would make the most sense....
I created an internal Task (#NEXT-31405) to have some new Endpoint to give us all the needed Information to create a SalesChannel Switch. I will come back to this topic when the new Endpoint is there.
This may also be helpful for different peps: https://github.com/patzick/frontends-multiinstances-example
Description
We need to document how a setup with Composable Frontends and two different SalesChannels can look like.
This documentation should also explain or have an example code for a basic store switcher.
Please also consider a way to only have one Frontend with multiple SalesChannels. Or write down if our suggestion would be to have Frontend for every SalesChannel and the reasons for that.
Also, give some hints about the language Switcher topic (e.g. setup: 2 SalesChannel and everyone with 2 Languages).
Use Case
Different products in different SalesChannels.
Proposed Solution
No response
Alternatives Considered
No response
Additional Context
Discussion in Slack Channel.