-
Notifications
You must be signed in to change notification settings - Fork 967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meta information in landing pages is not inherited #3712
Labels
Comments
https://issues.shopware.com/issues/NEXT-31206 seems to be the same issue. could we close the issue here then? |
@mitelg Yeah sure. Tbh I was not looking there ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PHP Version
8.2
Shopware Version
trunk
Expected behaviour
The meta information of the landing page should use the translated version of the field.
Actual behaviour
If the language has no defined name or meta title, it will not fall back to the default languages, the meta title will be empty:
shopware/src/Storefront/Page/LandingPage/LandingPageLoader.php
Lines 52 to 57 in 9db9338
How to reproduce
Simply create two languages and add a landing page. The meta title in the default language will work.
If you do not translate the title in the other language, it will NOT fall back based on the language id chain and will therefore be empty.
The text was updated successfully, but these errors were encountered: