Open Graph for Phoca Cart Products

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
User avatar
Jfruiz
Phoca Member
Phoca Member
Posts: 22
Joined: 24 Jan 2016, 17:49

Open Graph for Phoca Cart Products

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Open Graph for Phoca Cart Products

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jfruiz
Phoca Member
Phoca Member
Posts: 22
Joined: 24 Jan 2016, 17:49

Re: Open Graph for Phoca Cart Products

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Open Graph for Phoca Cart Products

Post 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:
If you find Phoca extensions useful, please support the project
Post Reply