Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
Nick1973
Just seen this line needed replacing as well:
HTML Code:
"weight" : "<?php echo ($weight + $product_attribute['weight'] > 0 ? $weight + $product_attribute['weight'] : $weight) . TEXT_PRODUCT_WEIGHT_UNIT; //if a subtracted attribute weight is less than zero, use base weight ?>",
Please can you check the data though as it appears to be just pulling the weight Unit and not the actual weight?
https://ventureengravings.uk/brass-p...made-in-the-uk
Ok I have managed to get this resolved myself. I'll PM you the fileset for you to go through, if there is anything you want to add to it that I may have missed torvista?
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
Nick1973
Ok I have managed to get this resolved myself. I'll PM you the fileset for you to go through, if there is anything you want to add to it that I may have missed torvista?
Just seen I can't attach the fileset I have updated so where can I send this to please?
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Hi,
I am getting these google search console messages for around 10% of my products "Products, Invalid object type for field "brand"".
Below is an example they provide.
The Brand is shown as Chiara which is the correct name of the manufacturer
Code:
"sku": "CHJ-Y1811A",
"productID": "CHJ-Y1811A",
"brand": "Chiara",
"category" : "Chiara 2021 Kollektion",
I have no clue what the problem is the message identifies so do not know what to fix, could somebody please help?
Many thanks
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Lots of info out there regarding this change that Google implemented.
This caught me on a loose minute, so I've updated Github accordingly.
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
torvista
Lots of info out there regarding this change that Google implemented.
This caught me on a loose minute, so I've updated Github accordingly.
Good old google!
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
torvista
Lots of info out there regarding this change that Google implemented.
This caught me on a loose minute, so I've updated Github accordingly.
Installed your update and it works fine on my test site, now to see how Google reacts.
Thanks again
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
marton_1
Installed your update and it works fine on my test site, now to see how Google reacts.
Thanks again
You may already know this, but you can see how Google reacts by testing it at:
https://search.google.com/test/rich-results
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
simon1066
Thanks, positive results from this test :)
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
marton_1
Installed your update and it works fine on my test site, now to see how Google reacts.
Thanks again
Eventually, google recrawled my site and the brand problem has gone away - many thanks.
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
torvista
Where is the Google structured data specification for weight?
Thank you for offering the structured data add on. We have been testing this mod and it seems to work well for adding structured data.
We have tried to setup a google merchant center feed using the ‘website crawl’ option. Unfortunately we have been unable to get any products approved (our account uses weight based shipping).
The schema.org test states that “weight” is the correct attribute and does not generate any errors. However after google had completed the ‘website crawl’ all of our products were disapproved due to a missing value for the shipping_weight.
We have contacted google support and they claimed that the correct attribute is “shipping_weight” instead of “weight”. Updating the attribute appeared to make no difference. Google still disapproved all products and schema.ora stated that there was now an error.
As we cannot supply the weight to google and products do not update very often, we have decided to use an alternative mod https://github.com/torvista/Zen_Cart..._Center_Feeder
Hopefully this post will help other users as I have spent five days trying to get the ‘website crawl’ feed to work correctly but have not found a solution. I would still recommend using the structured data mod to improve organic search rankings. Unfortunately it does not appear to be compatible with merchant center weight based shipping.