Skip to content
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

Page title suffix is included in "title" tag but not in "meta title" tag in product pages #37680

Closed
1 of 5 tasks
cptX opened this issue Jun 28, 2023 · 37 comments · Fixed by #37876
Closed
1 of 5 tasks
Assignees
Labels
Area: SEO Component: Framework/Url Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P3 May be fixed according to the position in the backlog. Progress: done Reported on 2.4.6 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch

Comments

@cptX
Copy link

cptX commented Jun 28, 2023

Preconditions and environment

  • Magento version 2.4.6
  • Anything else that would help a developer reproduce the bug
    Setting Page title suffix in the theme configuration makes the system include the prefix in "title" tag but not in "meta title" tag for products. For standard pages and category pages it works correctly. Only in product pages is not included in meta title tag.

Steps to reproduce

Go to Content > Design > Configuration > Global settings > HTML Head and add a Page Title Suffix.
Then check standard pages (eg. home page, about us, contact us etc) and category pages and you will see that is correctly included both in title and meta title tags.
Now go to a product page. You will see that is included in the title tag but not in meta title tag.

Expected result

Page Title Suffix should be included also in meta title tag in product pages.

Actual result

Page Title Suffix is not included in meta title tag in product pages.

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
@m2-assistant
Copy link

m2-assistant bot commented Jun 28, 2023

Hi @cptX. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

@m2-community-project m2-community-project bot added this to Ready for Confirmation in Issue Confirmation and Triage Board Jun 28, 2023
@engcom-Bravo engcom-Bravo added the Reported on 2.4.6 Indicates original Magento version for the Issue report. label Jun 28, 2023
@engcom-Dash engcom-Dash self-assigned this Jun 30, 2023
@m2-assistant
Copy link

m2-assistant bot commented Jun 30, 2023

Hi @engcom-Dash. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

    1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    1. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
    1. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
    1. Verify that the issue is reproducible on 2.4-develop branch
      Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
      - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
      - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

@engcom-Dash
Copy link

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@engcom-Dash
Copy link

Hi @cptX ,

verified the issue in 2.4-develop instance and the issue is not reproducible,Kindly refer the below screenshots:
Screenshot 2023-07-07 at 11 17 44 AM
Screenshot 2023-07-07 at 11 17 57 AM
Screenshot 2023-07-07 at 11 18 07 AM
Screenshot 2023-07-07 at 11 23 07 AM
Screenshot 2023-07-07 at 11 25 55 AM

Step to reproduce:
1.Go to Content > Design > Configuration > Global settings > HTML Head and add a Page Title Suffix.
2.Check standard pages like Home page and contact us and about as pages page title suffix with meta title present or not.

Page title suffix displaying all pages including product pages.Kindly recheck the behaviour in 2.4-develop instance and Kindly let us know if we are missing anything!

Thanks

@engcom-Dash engcom-Dash added the Issue: needs update Additional information is require, waiting for response label Jul 7, 2023
@m2-community-project m2-community-project bot moved this from Ready for Confirmation to Needs Update in Issue Confirmation and Triage Board Jul 7, 2023
@cptX
Copy link
Author

cptX commented Jul 7, 2023

Hi @engcom-Dash,
I'm afraid you didn't understand the problem. The problem is in the meta name="title" tag
image
It should include the title suffix in the meta tag title as it does in the title, but it's not and this happens only in the product pages. Categories and other pages work correctly as you see in the following screenshot
image

@engcom-Dash
Copy link

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@engcom-Dash
Copy link

Hi @cptX ,

Thanks for contribution and collaboration!
Kinldy refer the below screenshots which showing meta title tag added in all the pages including product page.
1.Product page
Screenshot 2023-07-07 at 3 56 59 PM
2.Home Page
Screenshot 2023-07-07 at 3 51 54 PM
3.About as page
Screenshot 2023-07-07 at 3 54 50 PM
4.Contact us Page
Screenshot 2023-07-07 at 3 55 10 PM

Thanks

@cptX
Copy link
Author

cptX commented Jul 7, 2023

Can you please check in a 2.4.6 production version? I have triple checked my system and indeed in product pages the meta name="title" tag doesn't include the suffix. All the rest work correctly!
I also checked in both store views greek and english.
You can check yourself here if you want: https://electrons.gr , just click on any product and check the meta tags!

@magento-deployment-service
Copy link

Hi @cptX. Thank you for your request. I'm working on Magento instance for you.

@cptX
Copy link
Author

cptX commented Jul 7, 2023

@magento give me magento 2.4.6 instance

@magento-deployment-service
Copy link

Hi @cptX. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

Hi @cptX, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.

@magento-deployment-service
Copy link

@cptX
Copy link
Author

cptX commented Jul 7, 2023

I have checked on the magento instance given but it works correctly. But I'm not sure what instance is this? It says Magento ver. dev-develop on the bottom right.
image

@cptX
Copy link
Author

cptX commented Jul 7, 2023

@magento give me 2.4.6 instance

@magento-deployment-service
Copy link

Hi @cptX. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@cptX
Copy link
Author

cptX commented Jul 7, 2023

I have tested also in the 2.4.6 magento intance provided above and it works as expected!
Can anybody give me a hint what to look to detect the problem on my production system?

@cptX
Copy link
Author

cptX commented Jul 8, 2023

@magento give me 2.4.6 instance

@m2-community-project m2-community-project bot removed the Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed label Jul 19, 2023
@m2-community-project m2-community-project bot moved this from Needs Update to Confirmed in Issue Confirmation and Triage Board Jul 19, 2023
@m2-community-project m2-community-project bot moved this from Needs Update to Confirmed in Issue Confirmation and Triage Board Jul 19, 2023
@m2-community-project m2-community-project bot added Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Jul 19, 2023
@github-jira-sync-bot
Copy link

✅ Jira issue https://jira.corp.adobe.com/browse/AC-9164 is successfully created for this GitHub issue.

@m2-assistant
Copy link

m2-assistant bot commented Jul 19, 2023

✅ Confirmed by @engcom-Dash. Thank you for verifying the issue.
Issue Available: @engcom-Dash, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@github-jira-sync-bot
Copy link

❌ You don't have permission to export this issue.

@cptX
Copy link
Author

cptX commented Jul 19, 2023

Hi @engcom-Dash , please correct your phrase. I think you mean the issue IS REPRODUCIBLE.

Hi @cptX ,

Verified the issue in 2.4-develop instance and 2.4.6 magento instance and the issue is not reproducible,Hence we are confirming the issue.

@engcom-Bravo engcom-Bravo added Area: SEO Component: Framework/Url Priority: P3 May be fixed according to the position in the backlog. and removed Area: Admin UI labels Jul 20, 2023
@m2-community-project m2-community-project bot added this to Ready for Development in Low Priority Backlog Jul 20, 2023
@aasim110
Copy link
Contributor

@magento I'm working on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: SEO Component: Framework/Url Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P3 May be fixed according to the position in the backlog. Progress: done Reported on 2.4.6 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch
Projects
Development

Successfully merging a pull request may close this issue.

5 participants