mollie / Shopware6

MIT License
51 stars 54 forks source link

Adding API-Keys for Language Domains #754

Closed SeanMerger closed 4 months ago

SeanMerger commented 5 months ago

Currently, one can add API-Keys for different sales channels. In Shopware, the best practice for language-domains is to add multiple domains to one sales channel under the domain section and assign them an individual language and snippet set. With Mollie, one has to set-up individual API-Keys for each domain (website profiles). This makes it currently impossible to setup multiple domains for a sales channel with individual API-Keys.

BlackScorp commented 4 months ago

Hi, thats correct, but there is currently no way to develop a plugin configuration based on domain. changing that is not an easy task. what is the reason to have individual api key for each domain? and why creating multiple saleschannels is not an option?

SeanMerger commented 4 months ago

Hi @BlackScorp,

I figured that this would be difficult. If you create different saleschannels for "language domains", Shopware won't set hreflang tags for the different domains.

BlackScorp commented 4 months ago

@SeanMerger maybe you can modify the theme and add those urls? this is how we do for other projects, we add our custom language selector based on saleschannel there are also plugins which shows the saleschannel in the navigation.

since i cannot resolve the problem, iam going to close this ticket