magento2
magento2 copied to clipboard
Google search console reports missing field "image" & "description" in Merchant Listings
Preconditions and environment
- Magento version 2.4.6
Steps to reproduce
Google Search Console reports missing field "image" & "description" in Merchant Listings.
If I visit a product page, meta name="description", meta property="og:image" and meta property="og:description" tags are correctly appearing in the head. But I suppose google reports warning because tags
meta itemprop="image" and meta itemprop="description" are missing. Shouldn't these fields also be populated automatically?
Expected result
Tags meta itemprop="image" and meta itemprop="description" should also be available in the HEAD in order for Google Seach Console to not consider them invalid pages...
Actual result
Google Seach Console considers the product pages invalid in Merchant Listings
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.
- [X] 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”.
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:
-
@magento give me 2.4-develop instance
- upcoming 2.4.x release - For more details, review the Magento Contributor Assistant documentation.
- Add a comment to assign the issue:
@magento I am working on this
- To learn more about issue processing workflow, refer to the Code Contributions.
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: 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.
Is there a quick/temporary fix I can use for this issue until there's an official fix?
I can confirm that this issue is present on my Magento instances on both 2.3.x and 2.4.x
HI guys, same trouble. Has anyone a solution?
i found out that the itemprop image code is missing in html code of product page. Using google code tester i can make it work adding such a thing:
Now, which file is responsible to generate this and should be modified in APP of magento?
hmm well, my code was modified by the github system :)
As far as I can tell, Google have only recently started auto-detecting merchant listings, whereas previously you had to submit these, with only product listings being detected automatically. https://developers.google.com/search/blog/2022/09/merchant-listings
Magento's code has valid schema for products (well, since 2.4). However, it lacks the required image markup for valid merchant listings.
I'd agree that this image field needs adding, as this is going to be a requirement of most shops now that Google have changed how this works.
so right now there is no solution? Even with addon?
Not that I know of. Google only seem to have fully rolled that out since the last version of Magento was released.
You could probably write a template override for module-catalog\view\frontend\templates\product\view\gallery.phtml (I think) so that the appropriate tag appears on the image. However, I'd personally wait until there's an official fix.
Google haven't said that Google Merchant Centre will stop working as a way to submit your products for merchant listing status, so continue doing it that way if you require that functionality. If you didn't do that before, then it should make no difference to how your site appears.
Hello, I await answers of some module creators cause their test website are passing google search console test with no errors. This means it is possible to sort this with a module :)
@magento give me 2.4-develop instance
Hi @engcom-Delta. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Delta, here is your Magento Instance: https://51464d7566f1c2dc1df17fa9b17dc118.instances-prod.magento-community.engineering Admin access: https://51464d7566f1c2dc1df17fa9b17dc118.instances-prod.magento-community.engineering/admin_cbe7 Login: 781227ae Password: a40e1a648482
Hi guys, there was a solution to that problem, using a third party module. I used the one of Weltpixel and with some debug of them and my assistance, their last version solved it.
@magento give me 2.4-develop instance
Hi @engcom-Hotel. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Hotel, here is your Magento Instance: https://51464d7566f1c2dc1df17fa9b17dc118.instances-prod.magento-community.engineering Admin access: https://51464d7566f1c2dc1df17fa9b17dc118.instances-prod.magento-community.engineering/admin_0b85 Login: 4cc7eaaf Password: eaec51ec3a8b
@magento give me 2.4-develop instance
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Dash, here is your Magento Instance: https://51464d7566f1c2dc1df17fa9b17dc118.instances-prod.magento-community.engineering Admin access: https://51464d7566f1c2dc1df17fa9b17dc118.instances-prod.magento-community.engineering/admin_8435 Login: 05746f56 Password: 06d568b3fe05
Hi guys, there was a solution to that problem, using a third party module. I used the one of Weltpixel and with some debug of them and my assistance, their last version solved it. @Brumagin I'm having this issue with google reporting missing image fields on my products. Which Weltpixel extension solved your issue?
Hi, That one :
https://www.weltpixel.com/magento2-google-rich-cards-free-extension.html
De : trevstar72 @.*** Envoyé : mercredi 10 janvier 2024 15:47 À : magento/magento2 @.> Cc : Magintec @.>; Comment @.***> Objet : Re: [magento/magento2] Google search console reports missing field "image" & "description" in Merchant Listings (Issue #37497)
Hi guys, there was a solution to that problem, using a third party module. I used the one of Weltpixel and with some debug of them and my assistance, their last version solved it.
I'm having this issue with google reporting missing image fields on my products. Which Weltpixel extension solved your issue?
— Reply to this email directly, view it on GitHubhttps://github.com/magento/magento2/issues/37497#issuecomment-1884987971, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBVT3N2XC4JPVS5RPKSLWM3YN2SWFAVCNFSM6AAAAAAYABPGG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBUHE4DOOJXGE. You are receiving this because you commented.Message ID: @.@.>>
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: :point_down:
-
- Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
-
- Verify that issue has a meaningful description and provides enough information to reproduce the issue.
-
- Add
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.
- Add
-
- Verify that the issue is reproducible on
2.4-develop
branchDetails
- Add the comment@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-develop
branch, please, add the labelReproduced 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!
- Verify that the issue is reproducible on
- Join Magento Community Engineering Slack and ask your questions in #github channel.
Hi @cptX
Thanks for reporting and collaboration.
Can you please provide the detailed steps to reproduce inorder to reproduce the issue.
Thanks
Hi @engcom-Dash there is no point in adding any more information about this. Please read my description carefully and you will understand the issue.
Hi @engcom-Bravo. 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: :point_down:
- [ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
- [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
- [ ] 3. Add
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to. - [ ] 4. Verify that the issue is reproducible on
2.4-develop
branchDetails
- Add the comment@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-develop
branch, please, add the labelReproduced 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! - [ ] 5. Add label
Issue: Confirmed
once verification is complete. - [ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
Hi @cptX,
By referring this https://developers.google.com/search/blog/2022/09/merchant-listings We are considering this as a feature request as improvement to proceed further.
Thanks.
We are also encountering the same error in Rich Snippets:
Missing field "image"
I believe this should be standard and available in the core.
As a quick fix you can edit vendor/magento/module-catalog/view/frontend/templates/product/view/opengraph/general.phtml
(or copy the file to your theme)
Replace : <meta property="og:image" content="<?= $block->escapeUrl($block->getImage($block->getProduct(), 'product_base_image')->getImageUrl()) ?>" />
with :
<meta itemprop="image" property="og:image" content="<?= $block->escapeUrl($block->getImage($block->getProduct(), 'product_base_image')->getImageUrl()) ?>" />