How to add product page meta tags for social media

The product page url on social media is only showing store logo image for all products. The same for other pages, only the store logo image is showing.

How can this be fixed? What code needs to be added/modified and in which code file? Any help is greatly appreciated.

Hi @CW5 ,

what’s the store’s URL? There may be a bug in the theme, which renders the meta tags for your products.

I have sent info by DM.

Hello, this refers to the issue I raised above. I have checked that in Twitter, the product image is displayed correctly.

In Facebook, Instagram and Whatsapp, the product image is not displayed, only the store logo is displayed even for product page URLs.

So its likely the issue is with the Meta social media.

Just adding this by way of additional info.

@Niki_K

Hi @CW5 ,

thank you for the additional information!

When sharing your products on social media, the featured product image should be used by default. The main cover image should be used only for the general pages (such as homepage).

I checked one of your products on Facebook debugger and the preview shows only a logo, as you say.

I looked at the source code of your store and I can see that you have double

property="og:image"

set up on the store. The first one renders the store’s logo.

Please see the screenshots:

I recommend checking out the code to see, why there are two og:image tags and remove the one that renders the logo.

Hope this helps!

P.S. If you’re enhancing your social sharing images now, you may find value in our app called SocialSeal.

Thank you @Niki_K . As you suggested, I removed the first og:image tag that rendered the logo. Now the product image is correctly showing in the link. Thanks for your help.

However, now when i send the store link on whatsapp, there is no image showing. Could you advise what’s wrong that needs fixing.

Thanks