Page 1 of 1

Kompatibiilita pluginu Google Structured Data for PhocaCart s Phocacart 5.0.0

Posted: 04 Jul 2024, 16:12
by vlood
Ahoj Jan,
je plugin Google Structured Data for PhocaCart kompatibilný s Phocacart 5.0.0?
Dakujem.

Re: Kompatibiilita pluginu Google Structured Data for PhocaCart s Phocacart 5.0.0

Posted: 04 Jul 2024, 20:47
by Nidzo
I tried now on latest Phoca Cart 5 Beta version and Add Structured Data button is inresponsive. Plugin requires Google Structured Data from Tassos Marinos.
I used this chrome extension Schema Builder for Structured Data and Schema Type Custom that is present in Phoca Cart 5.

Re: Kompatibiilita pluginu Google Structured Data for PhocaCart s Phocacart 5.0.0

Posted: 06 Jul 2024, 23:56
by Jan
Hi, which plugin do you exactly mean? Where did you download it?

Re: Kompatibiilita pluginu Google Structured Data for PhocaCart s Phocacart 5.0.0

Posted: 07 Jul 2024, 00:48
by Nidzo

Re: Kompatibiilita pluginu Google Structured Data for PhocaCart s Phocacart 5.0.0

Posted: 07 Jul 2024, 01:30
by Jan
Hi, in Joomla 5, Google Structured Data feature is a part of Joomla core and Pavel (n3t, the developer of this plugin) implemented it directly into Phoca Cart, so there is no need to have plugin since Phoca Cart 5

Image

Jan

Re: Kompatibiilita pluginu Google Structured Data for PhocaCart s Phocacart 5.0.0

Posted: 07 Jul 2024, 13:30
by Nidzo
I used custom schema generated using external tools. Maybe you can include Product schema type. It would be easier and more appropriate for e-commerce extension like Phoca Cart. I don't find useful BlogPosting, Book, Event etc. schema for PhocaCart product.
https://schema.org/Product

Re: Kompatibiilita pluginu Google Structured Data for PhocaCart s Phocacart 5.0.0

Posted: 07 Jul 2024, 14:59
by Jan
Hi, the product type is ready:

https://github.com/joomla/joomla-cms/pull/42710

It should be a part of core, but it seems, it will be not added. I will try to find out, if this plugin will be released. If not, I will ask Pavel, if he already made such plugin, if not, I will then create it based on the Github Pull Reuqest.

See: viewtopic.php?p=181478#p181478

Jan

Re: Kompatibiilita pluginu Google Structured Data for PhocaCart s Phocacart 5.0.0

Posted: 07 Jul 2024, 16:03
by Nidzo
Thanks Jan 👍🏻

Re: Kompatibiilita pluginu Google Structured Data for PhocaCart s Phocacart 5.0.0

Posted: 07 Jul 2024, 16:44
by Jan
OK, I got a reply from Pavel, this information needs to be written into documentation.

1) There is support for Google Structured Data in Phoca Cart core.
2) Phoca Cart does not use the core Joomla types for product and as default it renders Google Structured Data for Phoca Cart product as type product (no need of additional plugin).

See:
https://www.phoca.cz/phocacartdemo/prem ... ies/25-bel

and test it it some Google Structured Data online validator:

Image

So, in Phoca Cart, Google Structured Data is displayed automatically for products as type product. And there is option, that you can change it in product edit, if you need other type, e.g. book (this is why there is even the option to select Joomla core types).

Jan

Re: Kompatibiilita pluginu Google Structured Data for PhocaCart s Phocacart 5.0.0

Posted: 07 Jul 2024, 21:56
by Nidzo
I can confirm that 👌🏻 I tried on my test site too and Phoca Cart 5 includes valid Google structured data. Great!