Media urls

Not sure if this is an issue but here it goes:

If you set up multiple domains on a storefront
The media url is generated from the domain you made it from

Replicate issue:

  1. Make two domains for a Storefront
  2. From domain A go to the theme, set a logo (save…)
  3. From domain B go to the frontend, inspect the media url of the logo
    It will be http://domainA/media
    instead of
    http://domainB/media

I think the media prefix should be dynamic based on the domain you are on
Not on the domain source…

Sounds like a bug. Could you please report it at issues.shopware.com?

1 Like