wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

Product category thumbnail incorrectly fetched

Open maybellyne opened this issue 9 months ago • 3 comments

  • [x] I've read and understood the contribution guidelines.
  • [x] I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened

When an X image is set for a WooCommerce product, the image is not fetched when shared. Instead, the WooCommerce product category thumbnail is fetched is not used

To Reproduce

Step-by-step reproduction instructions

  1. Install Yoast SEO and WooCommerce
  2. Create a WooCommerce product category and upload a thumbnail
  3. Create a WooCommerce product, assign it to the category in step 2 then upload an X image
  4. Share the product URL on X

Expected results

  1. The uploaded X image for the product should be fetched

Actual results

  1. The thumbnail image of the product category is fetched by X

Technical info

  • If relevant, which editor is affected (or editors):
  • [x] Block Editor
  • [ ] Gutenberg Editor
  • [ ] Elementor Editor
  • [ ] Classic Editor
  • [ ] Other:
  • Which browser is affected (or browsers):
  • [ ] Chrome
  • [ ] Firefox
  • [ ] Safari
  • [ ] Other:

Used versions

  • Device you are using:
  • Operating system:
  • PHP version:
  • WordPress version: 6.7.2
  • WordPress Theme:
  • Yoast SEO version: 24.7
  • Gutenberg plugin version:
  • Elementor plugin version:
  • Classic Editor plugin version:
  • Relevant plugins in case of a bug:

maybellyne avatar Mar 27 '25 21:03 maybellyne

Please inform the customer of conversation # 1240839 when this conversation has been closed.

maybellyne avatar Mar 27 '25 21:03 maybellyne

+1 https://wordpress.org/support/topic/product-category-image-showing-on-twitter-link-previews-instead-of-product-image/

maybellyne avatar Mar 27 '25 21:03 maybellyne