Zen Cart Logo
Forums / Addon Admin Tools / Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Views: 91,626

Results 41 to 60 of 212
4 Jul 2019, 7:33 PM
#41
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Hi Torvista,

Installed this plugin, was easy to do and works great! Thanks for your work and giving this to all of us.

One question I could not seem to find the answer to was when I run a test the output shows a few things that I'd like to change but don't know where to do this. As an example in the Output in Google's Structured Data Testing Tool, it shows:

itemOffered
@type Thing
name This is including the right product name*

How do I change it from Thing to Product?

Thanks in advance for your help with this,

Jeff

8 Jul 2019, 6:55 PM
#42
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

I think this is the Google tool assuming/inserting "Thing" when something is not quite right, but am not sure. It is certainly not in the code.
I don't have the right frame of mind to look at it at the moment, but post a link to a page that creates the code you are testing anyway, so someone can look at it when convenient.

8 Jul 2019, 6:59 PM
#43
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Hi Torvista,

Thanks for your reply. Here is the code for one product in my store that this is happening with https://www.nitwitcollections.com/shop/index.php?main_page=product_info&cPath=1&products_id=2041

I hope that this helps to decipher why this is happening and if/how to change this.

Thanks for your help,

Jeff

8 Jul 2019, 8:08 PM
#44
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Shows as product when I look at page source

8 Jul 2019, 10:14 PM
#45
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Thanks Lankeeyankee for your reply. When I put this URL into Google Structured Data Tool that is when I get the "Thing" instead of product. If I'm right in my understanding of Google's Structured Data usage, it thinks it is a Thing rather than product.....hence why I'd like to see if I can change this.

Any idea's or is my understanding of Google's Structured Data not quite accurate?

Thanks again,

Jeff

21 Aug 2019, 12:20 PM
#46
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

When I run a test I get this **@type ***Unspecified Type

How do i specify a type?*

13 Nov 2019, 10:53 PM
#47
speak394 avatar

speak394

New Zenner

Join Date:
Mar 2018
Location:
Alabama
Posts:
61
Plugin Contributions:
0

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Nick1973:

When I run a test I get this **@type ***Unspecified Type

How do i specify a type?*

Nice plugin but some things are missing.

Brand field.
Price Currency field.
URL field.
Image field
sku field.

How to add these please?

15 Nov 2019, 10:51 AM
#48
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Speak394:

Nice plugin but some things are missing.

Brand field.
Price Currency field.
URL field.
Image field
sku field.

How to add these please?

Mine adds those so you must have installed it wrong or not filled out those fields in the first place

18 Nov 2019, 12:44 AM
#49
speak394 avatar

speak394

New Zenner

Join Date:
Mar 2018
Location:
Alabama
Posts:
61
Plugin Contributions:
0

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Nick1973:

Mine adds those so you must have installed it wrong or not filled out those fields in the first place

Ok, I got some things fixed by adding the optional breadcrumbs for rich snippets. Now under google structered testing tool, my product shows twice. Once with no errors, the with 16 errors. So what did I do or what should I do now?

18 Nov 2019, 7:11 AM
#50
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Hi,
since no-one else reports the issues you are having/has found the need to change the code, I assume you have something different from usual in place on your site.
I suggest you use the version from my Github then post back with your results.

18 Nov 2019, 10:57 PM
#51
speak394 avatar

speak394

New Zenner

Join Date:
Mar 2018
Location:
Alabama
Posts:
61
Plugin Contributions:
0

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

torvista:

Hi,
since no-one else reports the issues you are having/has found the need to change the code, I assume you have something different from usual in place on your site.
I suggest you use the version from my Github then post back with your results.

I just removed super data, the files, the hard code changes and removed uninstalled the sql.

Got the latest Structured data markup and installed per the instructions. Installation was easy.

Enabled the plugin, all is good. But I did get the following errors:

warningpriceCurrency

The priceCurrency field is recommended. Please provide a value if available.
warningpriceValidUntil

The priceValidUntil field is recommended. Please provide a value if available.
warningurl

The url field is recommended. Please provide a value if available.
warningaggregateRating

The aggregateRating field is recommended. Please provide a value if available.
warningbrand

The brand field is recommended. Please provide a value if available.
warningimage

The image field is recommended. Please provide a value if available.
warningreview

The review field is recommended. Please provide a value if available.
warningsku

The sku field is recommended. Please provide a value if available.
warning

This Product is missing a global identifier (e.g. isbn, mpn or gtin8). Please see documentation for valid identifiers.

If I enable the schema markup, I get product listed twice. One with 2 errors, the other with 9 errors.

The one with two errors is not problem. It refers to reviews.
The second product error has the following errors. The same as listed above:
warningpriceCurrency

The priceCurrency field is recommended. Please provide a value if available.
warningpriceValidUntil

The priceValidUntil field is recommended. Please provide a value if available.
warningurl

The url field is recommended. Please provide a value if available.
warningaggregateRating

The aggregateRating field is recommended. Please provide a value if available.
warningbrand

The brand field is recommended. Please provide a value if available.
warningimage

The image field is recommended. Please provide a value if available.
warningreview

The review field is recommended. Please provide a value if available.
warningsku

The sku field is recommended. Please provide a value if available.
warning

This Product is missing a global identifier (e.g. isbn, mpn or gtin8). Please see documentation for valid identifiers.

Here is a link I tested:
https://bestfarmparts.com/David-Brown/Engine/Thermostart-Heater-Plug-For-David-Brown-885-990-995-996-1190-1194-1200-1210-1212-1290-1294-1390-1394-1490-1494-1594-1690-1694?cPath=65_356&

19 Nov 2019, 12:49 AM
#52
speak394 avatar

speak394

New Zenner

Join Date:
Mar 2018
Location:
Alabama
Posts:
61
Plugin Contributions:
0

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Ok, I think I have found the culprit. Numinix Structured Data. Now I just have to figure out how to remove it.

19 Nov 2019, 3:01 PM
#53
speak394 avatar

speak394

New Zenner

Join Date:
Mar 2018
Location:
Alabama
Posts:
61
Plugin Contributions:
0

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Got it. Now all works like it should.

19 Nov 2019, 4:00 PM
#54
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Good to know!

24 Feb 2020, 4:40 PM
#55
gwynwyffar avatar

gwynwyffar

New Zenner

Join Date:
Dec 2006
Location:
Hudson Valley, New York USA
Posts:
93
Plugin Contributions:
0

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

It appears the plugin is still missing field for "aggregateRating" and "review" as recommended by Google. I uploaded the most recent version (from Feb 11, 2020)

24 Feb 2020, 9:35 PM
#56
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Note, it does not offer data for those fields if the product does not have reviews. If the product does have reviews and they are not being produced, please provide a link.

25 Feb 2020, 8:14 PM
#57
gwynwyffar avatar

gwynwyffar

New Zenner

Join Date:
Dec 2006
Location:
Hudson Valley, New York USA
Posts:
93
Plugin Contributions:
0

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Most of our products do NOT have reviews (so wouldn't output a result - as you say) yet Google Web Master Tools lists not having a review field or aggregateRating field as a "Warning". Shouldn't the plugin output something showing the field but with a blank content so the warning doesn't happen?

25 Feb 2020, 10:01 PM
#58
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Shouldn't the plugin output something showing the field but with a blank content so the warning doesn't happen?

No, if it does that you get an Error instead of a Warning. The tool is unprecise, it should be a recommendation, not a warning.

25 Feb 2020, 10:07 PM
#59
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

torvista:

No, if it does that you get an Error instead of a Warning. The tool is unprecise, it should be a recommendation, not a warning.

The only way to get around this is to make sure your products have reviews :-) Then your errors will go away

3 May 2020, 3:41 PM
#60
gernot avatar

gernot

Zen Follower

Join Date:
Feb 2017
Location:
Tokyo, Japan
Posts:
334
Plugin Contributions:
0

Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...

Hi,
I am rolling out this great Structured Data plugin, understanding that I may have to add several things myself later. Thank you very very much.
https://www.proteawines.jp/shop/
ZC 1.5.6c, latest Structured Data release (and image handler).
It works pretty nicely, after some trial and error, fantastic.

I do have a few questions:

  1. Is the plugin multilingual? It does not appear to offer different language options, so I am entering the main configuration parameters in English for now. I noticed if I enter street address, city, country in Japanese (UTF-8) the JSON includes UTF-8 codepoints instead of actual UTF-8 glyphs.

  2. I do not understand the relationship between website language (English, Japanese) and schema, and OpenGraph. Ideally is the information intended to be different for each language of the website? Or common?

  3. I presume one does not need any re-writer for the product URLs. Facebook, Twitter, Google work fine with the main page, but for product pages with the standard Zen Cart query strings, Twitter and Google work fine, but Facebook's debugger simply says "URL returned a bad HTTP response code." (a 404 code). Some research turned up that Facebook uses IPv6, but the FB debugger clearly works for the main page, so I am stumped. I did try escaping the query string, no change.