Versioned products with different photos when shared on Facebook

when we share product either by the facebook share buttion or by copy and pasting the URL of the product into facebook, the wrong product photo displays.

at this point seems that it happens most of the time with products that have versions and different photos for the different versions.

  • Kasia Swiderska
    • Support nomad

    Hello MSAMike,

    MarketPress does not hangle OG meta tags that Facebook uses for sharing content. I checked source code of your site and there is no meta tag og:image - so Facbook will grab random image from page.
    It looks like your theme is adding those meta tags so it will probably add og:image when you add featured image to your products.
    I know that might be confusing because products are not using featured image, but most themes and plugins will be using that image to generate og:image meta tag.

    Try adding feature image to one product and then check it in facebook debugger https://developers.facebook.com/tools/debug/ if then right image will be shown.
    Let me know how it goes

    kind regards,
    Kasia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.