Kompatibiilita pluginu Google Structured Data for PhocaCart s Phocacart 5.0.0

Phoca Cart - complex e-commerce extension
vlood
Phoca Member
Phoca Member
Posts: 38
Joined: 28 Aug 2011, 09:59

Kompatibiilita pluginu Google Structured Data for PhocaCart s Phocacart 5.0.0

Post by vlood »

Ahoj Jan,
je plugin Google Structured Data for PhocaCart kompatibilný s Phocacart 5.0.0?
Dakujem.
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

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

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

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

Post by Jan »

Hi, which plugin do you exactly mean? Where did you download it?
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

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

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

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

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

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

Post by Nidzo »

Thanks Jan 👍🏻
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

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

Post by Nidzo »

I can confirm that 👌🏻 I tried on my test site too and Phoca Cart 5 includes valid Google structured data. Great!
Post Reply