Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
Nick1973
Products Shipping Weight doesn't appear to be in my product info data. Is this something that has been updated?
I still can't get products shipping weight to appear in structured data. This is necessary for the google shopping feed if using the Website Crawl method for listing products on Googles Shopping Channel and Free Listings if using variable shipping costs calculated by weight.
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Where is the Google structured data specification for weight?
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
torvista
Where is the Google structured data specification for weight?
If structured data is used for a google shopping feed which is processed using 'Website Crawl' rather than uploading an xml feed, and it has variable postage prices based on weight, products are Disallowed and show up as 'missing product data' - the reason is because the structured data product information is missing a weight value.
If I mark all my products as Free Shipping or a Flat Rate, even though neither apply, then the products are allowed as no weight value is required.
Does this help?
https://support.google.com/merchants/answer/6324490
https://support.google.com/merchants...007430222&rd=1
Look for unit_pricing_base_measure
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Those seem to be the specs for the XML feed, not the parameters embedded in the product file.
However, I added weight using educated guessing and the Rich Snippets tool did not complain. It's on Github.
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
torvista
Those seem to be the specs for the XML feed, not the parameters embedded in the product file.
However, I added weight using educated guessing and the Rich Snippets tool did not complain. It's on Github.
Ok no idea, however that's what came up when I searched for 'structured data weight specification'
I got to it through here https://support.google.com/merchants...86198?hl=en-GB
'Attributes and schema.org annotations' - there's a link to 'product data specification'
I'll see if it works anyway.
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
torvista
Those seem to be the specs for the XML feed, not the parameters embedded in the product file.
However, I added weight using educated guessing and the Rich Snippets tool did not complain. It's on Github.
Do I need to re-install the SQL? Or can I just overwrite the files?
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Always use a comparison tool like Beyond Compare to be very clear on code changes.
In this case only the jscript and readme have changed, as indicated by the history:
https://github.com/torvista/Zen_Cart...51bc03313f952e
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
torvista
Since I updated this to include weight it appears to be missing the
url and mpn from the data
HTML Code:
"@context": "https://schema.org", "@type": "Product", "name": "Brass Plaques and Metal Memorial Name Signs Engraving in the UK", "image": "https://ventureengravings.uk/images/brass-plaques-uk.jpg", "description": "Brass Memorial Plaques and Signs.Order Memorials and Metal Signs Online through our Website Today.Our Brass Plaques come with a range fixing options and corner finishes.Choose from a range of popular fonts, or if you have a custom font you would like to use, ask us if we can Engrave it for you.Please Note: All of our Engraved products are measured in inches. And text is always aligned central to the plaque, unless you state otherwise.When you purchase an Metal Signs and Memorials through our website, you can enter additional instructions during the checkout process.All spelling must be correct when you submit your specified requirements at time of purchase. Once your Brass Memorial Plaques or Signs has taken place, corrections will not be possible, so please ensure you check your spelling before sending it to us.", "sku": "Brass Plaques", "productID": "Brass Plaques", "brand": "Venture Engravings", "category" : "Brass Plaques", "offers" : { "@type" : "Offer", "price" : "28.99", "lowPrice" : "28.99", "highPrice" : "28.99", "offerCount" : "962", "priceCurrency" : "GBP", "priceValidUntil" : "2021-12-31", "itemCondition" : "http://schema.org/NewCondition", "availability" : "http://schema.org/InStock", "seller" : "Venture Engravings", "deliveryLeadTime" : "", "itemOffered" : "Brass Plaques and Metal Memorial Name Signs Engraving in the UK", "eligibleRegion" : "GB", "acceptedPaymentMethod" : { "@type" : "PaymentMethod", "name" : ["http://purl.org/goodrelations/v1#Paypal", "http://purl.org/goodrelations/v1#SquarePay", "http://purl.org/goodrelations/v1#Mastercard", "http://purl.org/goodrelations/v1#Visa", "http://purl.org/goodrelations/v1#AmericanExpress", "http://purl.org/goodrelations/v1#Maestro"] } }
You can see here by the way (CODE IN FOOTER, NOT HEADER):
https://ventureengravings.uk/brass-p...made-in-the-uk
And to compare, this site has your 2020 25 02 update on it which has the url and mpn in place:
https://businesscardprinting.uk/chea...rinting-online
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
Nick1973
Since I updated this to include weight it appears to be missing the
url and mpn from the data
HTML Code:
"@context": "https://schema.org", "@type": "Product", "name": "Brass Plaques and Metal Memorial Name Signs Engraving in the UK", "image": "https://ventureengravings.uk/images/brass-plaques-uk.jpg", "description": "Brass Memorial Plaques and Signs.Order Memorials and Metal Signs Online through our Website Today.Our Brass Plaques come with a range fixing options and corner finishes.Choose from a range of popular fonts, or if you have a custom font you would like to use, ask us if we can Engrave it for you.Please Note: All of our Engraved products are measured in inches. And text is always aligned central to the plaque, unless you state otherwise.When you purchase an Metal Signs and Memorials through our website, you can enter additional instructions during the checkout process.All spelling must be correct when you submit your specified requirements at time of purchase. Once your Brass Memorial Plaques or Signs has taken place, corrections will not be possible, so please ensure you check your spelling before sending it to us.", "sku": "Brass Plaques", "productID": "Brass Plaques", "brand": "Venture Engravings", "category" : "Brass Plaques", "offers" : { "@type" : "Offer", "price" : "28.99", "lowPrice" : "28.99", "highPrice" : "28.99", "offerCount" : "962", "priceCurrency" : "GBP", "priceValidUntil" : "2021-12-31", "itemCondition" : "http://schema.org/NewCondition", "availability" : "http://schema.org/InStock", "seller" : "Venture Engravings", "deliveryLeadTime" : "", "itemOffered" : "Brass Plaques and Metal Memorial Name Signs Engraving in the UK", "eligibleRegion" : "GB", "acceptedPaymentMethod" : { "@type" : "PaymentMethod", "name" : ["http://purl.org/goodrelations/v1#Paypal", "http://purl.org/goodrelations/v1#SquarePay", "http://purl.org/goodrelations/v1#Mastercard", "http://purl.org/goodrelations/v1#Visa", "http://purl.org/goodrelations/v1#AmericanExpress", "http://purl.org/goodrelations/v1#Maestro"] } }
You can see here by the way (CODE IN FOOTER, NOT HEADER):
https://ventureengravings.uk/brass-p...made-in-the-uk
And to compare, this site has your 2020 25 02 update on it which has the url and mpn in place:
https://businesscardprinting.uk/chea...rinting-online
I think I might have fixed it actually, was it just this line that needed adding?
HTML Code:
"weight": <?php echo json_encode($weight . TEXT_PRODUCT_WEIGHT_UNIT); ?>,
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
Originally Posted by
Nick1973
I think I might have fixed it actually, was it just this line that needed adding?
HTML Code:
"weight": <?php echo json_encode($weight . TEXT_PRODUCT_WEIGHT_UNIT); ?>,
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