Page 1 of 1

Open Graph for Phoca Cart Products

Posted: 31 May 2020, 20:02
by Jfruiz
Hi!

I'm trying to use Phoca Graph System Plugin to generate a og:image property for a Phoca Cart product page, but could not find the right way to do it.

Is that plugin the one to use or I should use the Phoca Graph Content pluging?

Re: Open Graph for Phoca Cart Products

Posted: 31 May 2020, 20:28
by Jan
Hi, for this purposes, there is Phoca Open Graph system plugin: https://www.phoca.cz/phoca-open-graph-system-plugin

Phoca Open Graph system plugin:

- in product view - renders the main image
- in category view - renders the image of category
- in categories view - renders the image set in options
- in items view - renders the image set in options

Image

Jan

Re: Open Graph for Phoca Cart Products

Posted: 31 May 2020, 22:43
by Jfruiz
That's the way I was using it and now that you confirm it, I have check the page in Facebook OG debugger, seeing that the property was there. I don't see it before because it appear at the end of head tag, not at the beginning.

I see that my problem is that I am uploading images directly as webp and it seems that facebook do not accept that format...

Thanks in any case.

Re: Open Graph for Phoca Cart Products

Posted: 01 Jun 2020, 14:43
by Jan
Hi,
I see that my problem is that I am uploading images directly as webp and it seems that facebook do not accept that format...
hmmm, yes, that could be the problem but hard to solve it. :idea: